본문 바로가기

LeetCode

(91)
[LeetCode] - 1796. Second Largest Digit in a String LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Remove Trailing Zeros From a String " 문제입니다.--> https://leetcode.com/problems/second-largest-digit-in-a-string/description/  문제 : Given an alphanumeric string s, return the second largest numerical digit that appears in s, or -1 if it does not exist..
[LeetCode] - 1790. Check if One String Swap can Make Strings Equal LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Check if One String Swap can Make Strings Equal" 문제입니다.--> https://leetcode.com/problems/check-if-one-string-swap-can-make-strings-equal/description/  문제 : You are given two strings s1 and s2 of equal length.A string swap is an operation where you c..
[LeetCode] - 1646. Get Maximum in Generated Array LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Get Maximum in Generated Array" 문제입니다.--> https://leetcode.com/problems/get-maximum-in-generated-array/description/  문제 : You are given an integer n.A 0-indexed integer array nums of length n + 1 is generated in the following way :nums[0] = 0nums[1]..
[LeetCode] - 1436. Destination City LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Destination City" 문제입니다.--> https://leetcode.com/problems/destination-city/description/  문제 : You are given the array paths, where paths[i] = [cityAi, cityBi] means there exists a direct path going from cityAi to cityBi. Return the destination city,..
[LeetCode] - 1252. Cells With Odd Values in a Matrix LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Cells with Odd Values in a Matrix" 문제입니다.--> https://leetcode.com/problems/cells-with-odd-values-in-a-matrix/description/  문제 : There is an m x n matrix that is initialized to all 0's.There is also a 2D array indices where each indices[i] = [ri, ci]..
[LeetCode] - 1154. Day of the Year LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Day of the Year" 문제입니다.--> https://leetcode.com/problems/day-of-the-year/description/  문제 : Given a string date representing a Gregorian calendar date formatted as YYYY-MM-DD, return the day number of the year.Example 1 : Input : date = "2019-01-09"..
[LeetCode] - 1089. Duplicate Zeros LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Duplicate Zeros" 문제입니다.--> https://leetcode.com/problems/duplicate-zeros/description/  문제 : Given a fixed-length integer array arr, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond the length..
[LeetCode] - 1051. Height Checker LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Height Checker" 문제입니다.--> https://leetcode.com/problems/height-checker/description/  문제 : A school is trying to take an annual photo of all the students.The students are asked to stand in a single file line in non-decreasing order by height.Let this..