Birthday Gift for SJ

Today is your best friend SJ’s birthday. You want to buy a birthday present for her. You want to buy…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

what means by 4=22 and so on here?

@Being_Gorom
4 = 22 Its means 4 = 2 to the power of 2, 8 = 23 Its means 8 = 2 to power of 3 , 9 = 32 Its means 9 = 3 to power of 2.

1 Like

thanks man appreciate that :slight_smile:

you are most welcome