Recent posts

[Lucky Algorithm] Equalize the Array (72/77)

less than 1 minute read

Equalize the Array (Hacker Rank) Karl has an array of integers. He wants to reduce the array until all remaining elements are equal. Determine the fewest num...

[Lucky Algorithm] Encryption (71/77)

less than 1 minute read

Encryption (Hacker Rank) An English text needs to be encrypted using the following encryption scheme. First, the spaces are removed from the text. Let be th...