论坛


2022年7月1日 星期五

Quick Algorithm: Display an Array of Integers as Set of Integer Ranges

Žarko Gajić| Žarko Gajić-On Delphi Programming |13:04:47

Say you have an array of integer values, for example, pages of a document or years when something happened, like years when new Delphi version was released: If you would want to display the above years in a user friendly manner as a set of ranges,...