Java – How to store Array of pairs

In this article you can see a sample code I use to store simple Key-Value pairs in another objects, i.e. List or ArrayList Continue reading

Floyd’s Cycle-Finding Algorithm

If you want to check if your linked list is circular you can use  Floyd’s Cycle-Finding Algorithm aka Tortoise and the Hare Algorithm.

It’s quite efficient as It has O(n) complexity.
Continue reading

How to display a popup with items for selection in ABAP

SAPIn case you’d like to display a popup with list of values where user can select one or more values than follow the code snippet
Continue reading