not possible unless u use augmented bst..which itself takes o(n) to built --
- [algogeeks] MS QUESTION sulekha metta
- Re: [algogeeks] MS QUESTION Navin Kumar
- Re: [algogeeks] MS QUESTION Navin Kumar
- [algogeeks] MS Question Umer Farooq
- Re: [algogeeks] MS Question Guneesh Paul Singh
- Re: [algogeeks] MS Question Mohanabalan D B
- Re: [algogeeks] MS Question Praveen
- Re: [algogeeks] MS Question Amitesh Singh