15,498,398 members

# recursion Questions

### What is the use of prime(n, n/2) here. If I dont use it it doesn't print the output

28-Oct-22 4:34am - updated 28-Oct-22 6:23am

### How do I reverse an array recursively using RISC-V?

8-Oct-22 11:35am - updated 8-Oct-22 19:45pm

### My code is not getting accepted ('infectious letters' on codeforces)

31-Aug-22 0:32am - updated 1-Sep-22 3:25am

### Please assist, my solution works fine when I enter -index numbers, however if I enter positive index numbers, I get incorrect result

26-Jul-22 3:43am - updated 26-Jul-22 5:37am

### How to convert this function into recursive function in javascript?

11-Jul-22 5:55am - updated 11-Jul-22 6:48am

### Why my merge sort function isn't working in C++?

25-Jun-22 1:27am - updated 25-Jun-22 8:41am

### Python, how an instruction can be done eventhough the recursion shouldn't allow it?

13-Apr-22 21:00pm - updated 14-Apr-22 13:50pm

### How to do this function recursively?

23-Feb-22 16:24pm - updated 23-Feb-22 23:35pm

### How to solve N-queens M-rooks problem on an (M+N)×(M+N) chessboard

8-Sep-21 7:39am - updated 8-Sep-21 22:45pm

### Javascript recursion challenge

8-Sep-21 10:22am - updated 8-Sep-21 10:49am

### A recursive method with one parameter prints x asterisks, followed by x exclamation points. Do NOT use any loops. Do NOT use any variables other than x.

12-Aug-21 3:25am - updated 12-Aug-21 6:24am

### How to get intuition for a specific DP problem

13-Jun-21 3:35am - updated 13-Jun-21 5:39am

### How do I display the consonant letters from the user's input?

20-Apr-21 21:18pm - updated 21-Apr-21 1:21am

### Javascript — how to make bubble sort function in object prototype

17-Apr-21 7:41am - updated 17-Apr-21 8:31am

### Factorial a recursive and a non-recursive of a given number in java

27-Mar-21 8:12am - updated 27-Mar-21 10:44am

### Looking for assistance on recurssive knight's tour

27-Feb-21 19:50pm - updated 28-Feb-21 21:16pm

### Why is my recursive method only getting one item from each level?

13-Feb-21 9:09am - updated 13-Feb-21 9:14am

### A recursive C function that calculates the summation of 1 + 2 + 4 + 8 + 16 + … for a given number n

20-Jan-21 13:37pm - updated 20-Jan-21 16:21pm

### How to write algorithm to workout factorial recursion in C#?

11-Nov-20 10:49am - updated 11-Nov-20 11:47am

### C++ how to read file and reverse a linked list using recursion then output

18-Sep-20 17:57pm - updated 18-Sep-20 19:03pm
Page 1 of 7

To narrow down your search try filtering by tags using the Filter box at the top right.