본문 바로가기

분류 전체보기

(94)
[LeetCode] - 73. Set Matrix Zeroes LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '중간 (Medium)' 단계인 "Set Matrix Zeroes" 문제입니다.--> https://leetcode.com/problems/set-matrix-zeroes/description/  문제 : Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0's.You must do it in place.Example 1:Input: matrix = [[1,1,..
[LeetCode] - 17. Letter Combinations of a Phone Number LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '중간 (Medium)' 단계인 "Letter Combinations of a Phone Number" 문제입니다.--> https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/  문제 : Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number co..
[LeetCode] - 3120. Count the Number of Special Characters LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Count the Number of Special Characters" 문제입니다.-->  https://leetcode.com/problems/count-the-number-of-special-characters-i/description/  문제 : You are given a string word. A letter is called special if it appears both in lowercase and uppercase in wor..
[LeetCode] - 4. Median of Two Sorted Arrays LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '어려움 (Hard)' 단계인 "Median of Two Sorted Arrays" 문제입니다.--> https://leetcode.com/problems/median-of-two-sorted-arrays/description/ 문제 : Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.The overall run time..
[LeetCode] - 20. Valid Parentheses LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Valid Parentheses" 문제입니다.--> https://leetcode.com/problems/valid-parentheses/ 문제 : Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.An input string is valid if : Open brackets mu..
[LeetCode] - 53. Maximum Subarray LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '중간 (Medium)' 단계인 "Maximum Subarray" 문제입니다.--> https://leetcode.com/problems/maximum-subarray/description/ 문제 : Given an integer array nums, find the subarray with the largest sum, and return its sum.Example 1 : Input : nums = [-2,1,-3,4,-1,2,1,-5,4]Output : 6Explan..
[LeetCode] - 75. Sort Colors LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '중간 (Medium)' 단계인 "Sort Colors" 문제입니다.--> https://leetcode.com/problems/sort-colors/description/ 문제 :Given an array nums with n objects colored red, white, or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, ..
[LeetCode] - 74. Search a 2D Matrix LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '중간 (Medium)' 단계인 "Search a 2D Matrix" 문제입니다.--> https://leetcode.com/problems/search-a-2d-matrix/description/ 문제 : You are given an m x n integer matrix matrix with the following two properties :Each row is sorted in non-decreasing order.The first integer of each r..