Q&A Discussões
I dont really get it
1 Voto
1 RespostaPyramind
3 Votos
2 Respostas[Make mutation recursion]
3 Votos
3 Respostaswhat is the problem?
0 Voto
3 RespostasReverse string
2 Votos
7 RespostasRunTime Error
1 Voto
3 RespostasI need to design a recursive function called replicate recur which will receive two arguments: times which is the number of times to repeat and data which is the number or string to be repeated.
The function should return an array containing repetitions of the data argument.
For instance, replicate_recur (3, 5) should return [5,5,5].
If the times argument is negative or zero, return an empty array. If the argument is invalid, raise ValueError.
0 Voto
4 Respostashow this works
1 Voto
3 RespostasRecursive in Java
0 Voto
1 RespostaFactorial Python
0 Voto
3 Respostashow to fix
0 Voto
1 RespostaFinding GCD
0 Voto
1 RespostaPython problem
-1 Voto
1 RespostaQuente hoje
DSA doubt
1 Votes
Input errors (python)
1 Votes
Vote Code
1 Votes
Data structure using C
0 Votes
Without degree job
0 Votes