Pregunta de entrevista de MagicBricks

basic data structure,java questions which are generally will be asked in freshers interview. spiring related questions print all nodes at distance k from a given node