(condition) ? true : false;
Consider a situation where you need to work with 3 variables where the assignment of one variable depends upon comparing the other 2 variables. Continue reading “Ternary Operators can clean up your code”
In computer science, a call stack is a stack data structure that stores information about the active subroutines of a computer program. This kind of stack is also known as an execution stack, program stack, control stack, run-time stack, or machine stack, and is often shortened to just “the stack”. Continue reading “Call Stack and Stack Overflows”
What is Recursion?
Definition: Recursion is a process in which a function calls itself as a subroutine.
The function itself that use the process of recursion is called a recursive function. Continue reading “Recursion”