October 09, 2016

Pulsing sequence generator

Imagine you need to generate "pulsing" sequence of numbers, which should continuously repeat while going up and down between needed values, like this: 5-6-7-8-9-10-9-8-7-6-5-6-7...
Purposes of such sequence may be different, but anyway, we want to have universal solution even for this simple problem. Algorithm is simple too...
You can test this algorithm onlie on IDEone. Source code available on GitHub. Moreover, you can try to play with it using online plotter.


  1. Kalau agen situs itu berani memberikan jaminan, maka itu bisa menjadi salah satu ciri kalau memang situs itu terbaik dan layak dipilih.
    bandar ceme
    freebet tanpa deposit
    paito warna terlengkap
    syair sgp

  2. Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts. mobile price in india

  3. There are many bodyguard companies in London, but not all of them are the same. When choosing a bodyguard company, you must consider residential security in UKwhat technology they use, the officers they employ, and the many years they have been working.