No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello, I need to write the recursive algorithm of type divide and conquer. The input is integer array S. The output is true if the array is sorted or false if not. Algorithm should divide the array in two halves, then to check the sorting of both halves with the … |
|
Hello! Could You please help to solve this? My question is how to reverse a number in decimal notation using recursive function. 1234 => 4321 2 => 2 20 => 0 20000 => 2 (yes!) 0 => 0 The maximum length of test input is 5 numbers. No need to … |
|
Re:
[COLOR=Blue][SIZE=2][FONT=Times New Roman]Hello, my name is kerry and i just sign up .Well, my question is how do reverse a number input by user using recersive function.Thanks for the help. [/FONT] [/SIZE] [/COLOR] |