GlobalLogic interview question

Questions based on array, string, stack, queue and SQL.