LeetCode 8. String to Integer (atoi)

LeetCode problem No.8. No.7 is here. modalsoul.hatenablog.com 8. String to Integer (atoi) https://leetcode.com/problems/string-to-integer-atoi/ Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non-whitespace…