c++-問題を解く LeetCode 121. Best Time to Buy and Sell Stock--Java,Python,C++解法LeetCodepython-問題を解くc++-問題を解く