이직 (1) 썸네일형 리스트형 [LeetCode] String to Integer (atoi) - medium level LeetCode medium level 문제이지만 medium 치고는 그리 어렵지 않은 문제로 비교적 간단하게 풀이 가능한 문제입니다. 문제: 문자열을 숫자로 변환하는 atoi 함수 구현 □ Example 1: - Input: "42" - Output: 42 □ Example 2: - Input: " -42" - Output: -42 - Explanation: The first non-whitespace character is '-', which is the minus sign. Then take as many numerical digits as possible, which gets 42. □ Example 3: - Input: "4193 with words" - Output: 4193 - Explana.. 이전 1 다음