Topic: Array Problem / Level: intermediate

Problem: Find the smallest number of elements to remove from an array to make the remaining elements form a geometric progression.

Run the code to see the output here...