![]() |
Created by Pravin Sonawane
almost 7 years ago
|
|
Question | Answer |
Boundary condition | if(start >= end) return null; left = create(values, start, middle); right = create(values, middle+1, end); |
Key algorithm step | Middle is root. Recursive on left half and right half. |
Pre conditions | Array should be sorted |
There are no comments, be the first and leave one below:
Want to create your own Flashcards for free with GoConqr? Learn more.