traversing algorithm. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

traversing algorithm.

How to write down an algorithm to traverse and array in reverse order but skipping 3 characters? thanks in advance

10th Apr 2021, 3:53 AM
LIGHT
LIGHT - avatar
5 Answers
+ 1
Please give us one example. And post you attempt too
10th Apr 2021, 4:24 AM
Atul [Inactive]
+ 1
i don't know if i understand the problem, in a vector i do something like this for(int i=vector.size()-1; i>=0; i-=3)
10th Apr 2021, 1:40 PM
Alejandro Medero
Alejandro Medero - avatar
0
Algorithm, pseudo code, or code?
10th Apr 2021, 5:24 AM
Ipang
0
code
10th Apr 2021, 10:45 AM
LIGHT
LIGHT - avatar
0
Im sorry I have no idea how to do this :(
10th Apr 2021, 10:46 AM
LIGHT
LIGHT - avatar