Actually, I've used a stack data structure but all the time I was referring queue :(
LeetCode 226 - https://leetcode.com/problems/invert-...
I've tried to explain using the recursive and iterative methods and also used Java and C# languages.
Source code: https://github.com/RiponDatta/leetcod...