RateGain Interview Question

mainly oops basic dsa ques were asked sorting factorization hcf and lcm