Oracle Interview Question

1 leetcode easy, 1 leetcode hard and a ML based algorithm.