剛開始看以為是迴圈處理
不過可以簡單地以數學解決喔
對於數學演算法有興趣的人 可以研究一下這題
#kotlin #leetcode
See more Recca Chao's posts on Cake.