Urban Ladder interview question

Climbing staircase data structure problem with a twist.

Interview Answer

Anonymous

30 Nov 2020

I made an error in my initial calculation when figuring out the mathematical logic and I ended up with a wrong solution because of that. I realised my mistake soon after and rectified the solution and forwarded it at the earliest along with my wrong explanation and the right one. If am investing my time into it and am showing my dedication towards it, the least I expect it a prompt response.