Functions act as placeholders for the data they output. Basically, you can assign the output of a function to a variable, just like any normal data.Test the return value of that recursive call. The core concept of this lesson is to learn how to call a function and assign the return value to a variable. In this assignment, you are going to use backtracking to solve nqueen problem and n is required to be 22 in this assignment. FreeCodeCamp offers a curriculum and in this video we cover their lesson called Assignment with a Returned Value. Question: In this assignment, you are going to use backtracking to solve nqueen problem and n is required to be 22 in this assignment. The nqueens problem is a fundamental coding puzzle which asks: how can N queens be placed on an NxN chessboard so that they cannot attack each other? We can take the return value of a function and assign it to a variable. Assume we have pre-defined a function sum which adds two numbers together.