Realtor.com Interview Question

Polymorphism, reverse string, find heavier ball from 8 balls, time complexity