Amazon interview question

Basic technical ds/algo questions