What's the difference between ArrayList and LinkedList?
Utilisateur anonyme
Unless you're implementing very low-level software (OS components, DBMS, something like that) -- this is a pointless question and indicates the interviewer is off base. Unless you are hiring brand new graduates, any CS / algorithm type questions are frankly kind of stupid. A good interviewer will focus on depth and breadth of knowledge, problem-solving skills, and engineering process knowledge. Playing "gotcha" to see if a candidate can contrast (e.g.) binary trees and binary search trees is a waste of everyone's time. Knowing the secret CS incantations doesn't make you a good developer.