Recent posts

[Lucky Algorithm] Lonely Integer (55/77)

less than 1 minute read

Lonely Integer (Hacker Rank) Consider an array of integers, , where all but one of the integers occur in pairs. In other words, every element in occurs exa...

[Lucky Algorithm] Marc’s Cakewalk (54/77)

less than 1 minute read

Marc’s Cakewalk (Hacker Rank) Marc loves cupcakes, but he also likes to stay fit. He eats cupcakes in one sitting, and each cupcake has a calorie count, . ...

[Lucky Algorithm] Ice Cream Parlor (51/77)

1 minute read

Ice Cream Parlor (Hacker Rank) Each time Sunny and Johnny take a trip to the Ice Cream Parlor, they pool together dollars for ice cream. On any given day, t...