Red Hat interview question

General Questions on Data Structure and Algorithm

Interview Answer

Anonymous

11 May 2019

Provide the most optimal solution in terms of Order/Space complexity and lowest possible LOC