Leetcode 2438. Range Product Queries of Powers | Hello Interview