-
최신 글
- VSCode 사설망 원격 개발 구성 2022년 3월 3일
- 유럽 50개국 수도와 공용어 2022년 2월 15일
- 태극기의 의미를 알아보자 2022년 2월 14일
- Dev Lee의 프로그래밍 초급 강의 – 2 2022년 2월 13일
- [ICT 기본지식] Bit, Byte, IP 란? 2022년 2월 13일
최신 댓글
글 목록
- 2022년 3월 (1)
- 2022년 2월 (6)
- 2021년 8월 (1)
- 2021년 2월 (4)
- 2021년 1월 (9)
- 2020년 12월 (8)
- 2020년 11월 (7)
- 2020년 10월 (2)
- 2020년 9월 (8)
- 2020년 8월 (4)
- 2020년 6월 (1)
- 2020년 5월 (15)
- 2020년 4월 (40)
- 2020년 3월 (2)
- 2019년 7월 (2)
- 2019년 6월 (4)
- 2019년 5월 (4)
- 2019년 4월 (8)
- 2019년 3월 (18)
- 2019년 2월 (19)
- 2019년 1월 (1)
- 2018년 7월 (1)
- 2018년 6월 (55)
- 2018년 5월 (14)
- 2018년 4월 (27)
- 2018년 3월 (13)
- 2017년 12월 (5)
- 2017년 11월 (21)
- 2017년 10월 (2)
- 2017년 9월 (1)
- 2016년 12월 (2)
- 2016년 10월 (1)
- 2016년 9월 (3)
- 2016년 8월 (2)
- 2016년 7월 (1)
- 2016년 5월 (2)
- 2016년 4월 (2)
- 2016년 3월 (9)
- 2016년 2월 (10)
- 2016년 1월 (6)
- 2015년 12월 (8)
- 2015년 11월 (5)
- 2015년 10월 (2)
- 2015년 9월 (33)
월간 보관물: 2020 8월
[LeetCode] 8 – String to Integer (atoi)
problem : 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 character is found. Then, starting from this character, takes an optional initial plus or minus sign followed … 계속 읽기
카테고리: 기초 개발실력 다지기, ICT, LeetCode
태그: 8, 8번, C++, 리트코드, LeetCode, String to Integer, String to Integer (atoi)
댓글 남기기
[LeetCode] 312 – Burst Balloons
problem : https://leetcode.com/problems/burst-balloons/ Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all the balloons. If the you burst balloon i you will get nums[left] * nums[i] * nums[right] coins. Here left and right are adjacent indices … 계속 읽기
[LeetCode] 6 – ZigZag Conversion
problem : https://leetcode.com/problems/zigzag-conversion/ The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I … 계속 읽기
[LeetCode] 85 – Maximal Rectangle
hint 1 : hint 2 : (right – left) * height problem : https://leetcode.com/problems/maximal-rectangle/ Given a 2D binary matrix filled with 0’s and 1’s, find the largest rectangle containing only 1’s and return its area. Example: Input: [ [“1″,”0″,”1″,”0″,”0”], [“1″,”0″,”1″,”1″,”1”], … 계속 읽기