all about data structure 1 - from recursive till queue