HashedIn by Deloitte interview question

Optimize the coding question from the written test and implement a stack using a circular linked list.

Interview Answer

Anonymous

Oct 18, 2017

Tried best to have common loop variable so that it doesn't consume extra space. Wen't on thinking about using negation of logic instead of straight forward logic.

1