리트코드 64

[Leetcode 아주 상세한 문제풀이] 33. Search in Rotated Sorted Array - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 33번 문제 Search in rotated sorted array 다. 우선 문제를 살펴보자. 리트코드 33번 문제 Search in rotated sorted array (링크) Search in Rotated Sorted Array - LeetCode Search in Rotated Sorted Array - LeetCode Can you solve this real interview question? Search in Rotated Sorted Array - There is an integer array nums sorted in ascending order (with distinct values). Prior to being passed to ..

Leetcode/Array 2023.12.24

[Leetcode 아주 상세한 문제풀이] 15. 3 Sum - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 15번 문제 3 Sum 이다. 우선 문제를 살펴보자. 리트코드 15번 문제 3 Sum (링크) 3Sum - LeetCode 3Sum - LeetCode Can you solve this real interview question? 3Sum - Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0. Notice that the solution set must not contain du leetcode.com Given an integ..

Leetcode/Array 2023.12.24

[Leetcode 아주 상세한 문제풀이] 11. Container with most water - 코드 line별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 11번 문제 Container with most water 다. 우선 문제를 살펴보자. 리트코드 11번 문제 Container with most water (링크) Container With Most Water - LeetCode Container With Most Water - LeetCode Can you solve this real interview question? Container With Most Water - You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are..

Leetcode/Array 2023.12.24

[Leetcode 아주 상세한 문제풀이] 1. Two Sum – 코드 line 별 설명

Leetcode 문제 리트코드의 대표 문제 중 하나인 Two sum 은 쉽지만 다양한 접근 방식이 있는 문제다. 우선 문제를 살펴보자. 리트코드 1번 문제 Two Sum (링크) Two Sum - LeetCode Two Sum - LeetCode Can you solve this real interview question? Two Sum - Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not leet..

Leetcode/Array 2023.12.24