Q&A DiscussÔes
Data conversion
1 Voto
4 RespostasMatt reaches the final round of a treasure hunt. In this, he finds that as he proceeds there are flags with the number written on them at different positions. The difference between two consecutive flags can be either a or b. If he finds the number on the first flag is 0. Given three integer, first one is number of flags present, second is a and third is b. then return all the possible values for last flag for each test case.
hunt({3 1 2}) = {2 3 4}
0 Voto
2 RespostasQuente hoje
Losing hearts
1 Votes
Someone explain it... Plz!!!
1 Votes
Question â
0 Votes
Programming
0 Votes
Code suggestions
1 Votes
Web development
0 Votes
Help me
0 Votes
Sololearn Theme Changing
0 Votes