Oracle interview question

Data structure with time and space complexity