I want to store the below array pattern in List, I am not understanding how to implement this as it has alternate increment.
- Increment the number by 399.
- Increment by 1
and continue the above 2 steps for a certain length of numbers. If someone can guide me for the logic with simple OOPs concepts
0, 400, 401, 800, 801, 1200, 1201, 1600, 1601, 2000