-
최신 글
- 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 9월
[LeetCode] 743 – Network Delay Time
problem : https://leetcode.com/problems/network-delay-time/ There are N network nodes, labelled 1 to N. Given times, a list of travel times as directed edges times[i] = (u, v, w), where u is the source node, v is the target node, and w is the time it takes for a signal to travel from source to target. Now, … 계속 읽기
[LeetCode] 15 – 3Sum
problem : https://leetcode.com/problems/3sum/ Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Notice that the solution set must not contain duplicate triplets. Example 1: Input: nums = [-1,0,1,2,-1,-4] … 계속 읽기
[LeetCode] 13 – Roman to Integer
problem : https://leetcode.com/problems/roman-to-integer/ Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, two is written as II in Roman numeral, just two one’s added together. Twelve … 계속 읽기
[LeetCode] 12 – Integer to Roman
problem : https://leetcode.com/problems/integer-to-roman/ Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, two is written as II in Roman numeral, just two one’s added together. Twelve … 계속 읽기
[LeetCode] 88 – Merge Sorted Array
problem : https://leetcode.com/problems/merge-sorted-array/ Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The number of elements initialized in nums1 and nums2 are m and n respectively. You may assume that nums1 has enough space (size that is equal to m + n) to hold additional elements from nums2. Example: Input: nums1 = [1,2,3,0,0,0], m = … 계속 읽기
[LeetCode] 160 – Intersection of Two Linked Lists
problem : https://leetcode.com/problems/intersection-of-two-linked-lists/ Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin to intersect at node c1. Example 1: Input: intersectVal = 8, listA … 계속 읽기
카테고리: 기초 개발실력 다지기, ICT, LeetCode
태그: 160, 160번, C++, 리트코드, Intersection of Two Linked Lists, LeetCode
댓글 남기기
[LeetCode] 141 – Linked List Cycle
problem : https://leetcode.com/problems/linked-list-cycle/ Given a linked list, determine if it has a cycle in it. To represent a cycle in the given linked list, we use an integer pos which represents the position (0-indexed) in the linked list where the tail connects to. … 계속 읽기
[LeetCode] 101 – Symmetric Tree
problem : https://leetcode.com/problems/symmetric-tree/ Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2 2 / \ / \ 3 4 4 3 But … 계속 읽기