Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336
Usually recursion works slower than loops. ?->(Show Answer!)
Question Set

1. Usually recursion works slower than loops.



Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 01 Jun 2017 06.01 pm
    When a recursive call is made, the function/process clones itself and then process that funtion. This leads to time and space constrains. In a loop, there is no recursive call involved that saves a lot of time and space too.
Show Similar Question And Answers
QA->R is taller than X, but shorter than Z, Q is taller than Z, Y is taller than X, but shorter than R, Who is the shortest?....
QA->In Kiran’s opinion, his weight is greater than 65 kg but less than 72 kg. His brother does not agree with Kiran and he thinks that Kiran’s weight is greater than 60 kg but less than 70 kg. His mother’s view is that his weight cannot be greater than 68 kg. If all are them are correct in their estimation, what is the average of different probable weights of Kiran?....
QA->In an examination of mathematics Rajesh obtained more marks than the total marks obtained by Rahim and Sabu. The total marks obtained by Rahim and Saji was more than the Rajesh’s. Rajesh obtained more marks than Saji, Reenu obtained more marks than Rajesh. Who amongst them obtained the....
QA->Rekha is taller than Asha. Deepa is as tall as Priti. Supriya is shorter than Veena. Sita is taller than Asha. Veena is shorter than Deepa. Who is the shortest ?....
QA->Rekha is taller than Asha. Deepa is as tall as Priti. Supriya is shorter than Veena. Sita is taller than Asha. Veena is shorter than Deepa. Who is the shortest ?....
MCQ->Usually recursion works slower than loops.....
MCQ->Among M,N,O,P,Q and R, each having a different height, who is the second tallest I. Q is taller than only three people. P is taller than M but shorter than R. II. M is taller than only O. N is taller than P but shorter than R. Q is shorter than N.....
MCQ->Among six friends M,N,O,P,Q and R, who is the second heaviest? O is heavier than only two friends. P is heavier than Q but lighter than N. R is the heaviest. M is lighter than only two friends. N is heavier than O but lighter than R. P is heavier than only Q.....
MCQ->Taking the train across town is quicker than taking the bus. Taking the bus across town is slower than driving a car. Taking the train across town is quicker than driving a car. If the first two statements are true, the third statement is....
MCQ->Statements : Some tasks are hurdles. All hurdles are jobs. Some jobs are works. Conclusions : I. All works being hurdles is a possibility. II. At least some works are tasks.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution