Pregunta de entrevista de National Instruments

Behavioral Questions: - Talk about the worst bug you have had. - Which language do you prefer (They don’t really use Java, mostly C++/C#) Technical Questions: -If you are designed an mp3, how will you shuffle a music list? Suppose the list is 10 songs? Suppose now the list is 10.000 songs? -If you are designing and text editor from zero, what data structure will you use to save the text? How will you manage the memory? -If you have a binary tree, how will you calculate the average of all the nodes in the tree? The binary tree can have many nodes. Write a code that will give average of the sum in binary tree.