Oracle Interview Question

Data structure with time and space complexity