Lokesh Machines Interview Question

nothing that difficult they were pretty basic actually