a C++ algorithm problem- skyscrapersthe algorithm is correct as I tried using many test cases and the answer was correct everytime.. any...
a C++ algorithm problem- skyscrapersyes ur right...my point was same only that not always can the Big-O notation predicts the "performan...
a C++ algorithm problem- skyscrapersHere's my code- [code]VI calcRegions(VI hts,VI dts) { int cur=0; ...
a C++ algorithm problem- skyscrapershi thnks for ur help.... u wud be surprised to know that my implementation using dynamic program...
a C++ algorithm problem- skyscrapersohk ohk...my apologies...sorry if i was too rude...didnt mean to.. anyways, its fine.. i'll try to ...