SAP interview question

Two sum approach Implement stack using queue and vice versa GFG puzzles candle