leetcode
#11. Geometric Sequence Triplets
Map Solution
Python code
Time complexity: O(n)
Space complexity: O(n)