Domanda di colloquio di Flipkart

Given an customised data structure whose node structure is right pointer, data, down pointer, write code for level order traversal.

Risposta di colloquio

Anonimo

22 set 2020

I solved this using a queue. It is same like a level order in a tree question but here instead of left pointer there is down pointer.