Pregunta de entrevista de MediBuddy

Live coding asking which data structue i will use and the runnable code