Question: JLR TBSI Software Profile Internship Test | Placement Process | ISM Dhanbad | 2nd August 2023
1
Entering edit mode

 

ADD COMMENTlink 16 months ago Delta 2.9k
0
Entering edit mode

q1.  convert n to string s  then  find its next permuatation using stl function then convert back into integer if it is within range return otherwise return -1

ADD COMMENTlink 16 months ago Systumm • 200
Entering edit mode
1

For Question 2 its simple just explore all the possible digits sum and their power from 1-5 and stored it then just check the condition and save the number

 

 

ADD REPLYlink 16 months ago
chandu
• 10

Login before adding your answer.

Similar Posts
Loading Similar Posts