Top "Recursion" questions

Recursion is a kind of function call in which a function calls itself.

What is the maximum recursion depth in Python, and how to increase it?

I have this tail recursive function here: def recursive_function(n, sum): if n < 1: return sum else: return recursive_…

python recursion
Recursively look for files with a specific extension

I'm trying to find all files with a specific extension in a directory and its subdirectories with my bash (Latest …

linux bash recursion
What is tail recursion?

Whilst starting to learn lisp, I've come across the term tail-recursive. What does it mean exactly?

algorithm language-agnostic functional-programming recursion tail-recursion
Java recursive Fibonacci sequence

Please explain this simple code: public int fibonacci(int n) { if(n == 0) return 0; else if(n == 1) return 1; else return fibonacci(…

java recursion fibonacci
How to recursively find and list the latest modified files in a directory with subdirectories and times?

Operating system: Linux Filesystem type: ext3 Preferred solution: bash (script/oneliner), ruby, python I have several directories with several subdirectories …

linux recursion time filesystems
How to search a string in multiple files and return the names of files in Powershell?

I have started learning powershell a couple of days ago, and I couldn't find anything on google that does what …

string search text powershell recursion
List files recursively in Linux CLI with path relative to the current directory

This is similar to this question, but I want to include the path relative to the current directory in unix. …

linux unix recursion ls
How to search by key=>value in a multidimensional array in PHP

Is there any fast way to get all subarrays where a key value pair was found in a multidimensional array? …

php arrays search recursion
Recursively list files in Java

How do I recursively list all files under a directory in Java? Does the framework provide any utility? I saw …

java file recursion java-7 nio
Solution for "Fatal error: Maximum function nesting level of '100' reached, aborting!" in PHP

I have made a function that finds all the URLs within an html file and repeats the same process for …

recursion xdebug php