Rakuten Interview Question

Questions from Geeks for Geeks - solve & find its time & space complexity.