Almug interview question

In technical interview interviewer asked me only two coding questions nothing else not a single question from cv or on project. Q1. Find third smallest number in the array. Q2. Find level order sum of binary tree.

Interview Answer

Anonymous

13 Aug 2020

Ans1 First I have solved using sorting and after that I have solved using three variable and if else statements. Ans2 Standard tree problem solved using queue.