RateGain interview question

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