Oracle interview question

System design Leet code medium difficulty