본문 바로가기

전체 글

(94)
[LeetCode] - 258. Add Digits LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Add Digits" 문제입니다.--> https://leetcode.com/problems/add-digits/description/  문제 : Given an integer num, repeatedly add all its digits until the result has only one digit, and return it.Example 1 : Input : num = 38Output : 2Explanation : The process ..
[LeetCode] - 2639. Find the Width of Columns of a Grid LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Find the Width of Columns of a Grid" 문제입니다.--> https://leetcode.com/problems/find-the-width-of-columns-of-a-grid/description/  문제 : You are given a 0-indexed m x n integer matrix grid. The width of a column is the maximum length of its integers.For ..
[LeetCode] - 46. Permutations LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '중간 (Medium)' 단계인 "Permutations " 문제입니다.--> https://leetcode.com/problems/permutations/description/  문제 : Given an array nums of distinct integers, return all the possible permutations.You can return the answer in any order.Example 1 : Input : nums = [1,2,3]Output :..
[LeetCode] - 371. Sum of Two Integers LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '중간 (Medium)' 단계인 "Sum of Two Integers " 문제입니다.--> https://leetcode.com/problems/sum-of-two-integers/description/  문제 : Given two integers a and b, return the sum of the two integers without using the operators + and -.Example 1 : Input : a = 1, b = 2Output : 3 Exam..
[LeetCode] - 2710. Remove Trailing Zeros From a String LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Remove Trailing Zeros From a String " 문제입니다.--> https://leetcode.com/problems/remove-trailing-zeros-from-a-string/description/  문제 : Given a positive integer num represented as a string, return the integer num without trailing zeros as a string.Exam..
[LeetCode] - 2798. Numbers of Employees Who Met the Target LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "  Numbers of Employees Who Met the Target  " 문제입니다.--> https://leetcode.com/problems/number-of-employees-who-met-the-target/description/  문제 : There are n employees in a company, numbered from 0 to n - 1.Each employee i has worked for hours[i] hours..
[LeetCode] - 2810. Faulty Keyboar LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Faulty Keyboard" 문제입니다.--> https://leetcode.com/problems/faulty-keyboard/description/  문제 : Your laptop keyboard is faulty, and whenever you type a character 'i' on it, it reverses the string that you have written. Typing other characters works as e..
[LeetCode] - 2894. Divisible and Non-Divisible Sums Difference LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Divisible and Non-Divisible Sums Difference" 문제입니다.-->  https://leetcode.com/problems/divisible-and-non-divisible-sums-difference/description/  문제 : You are given positive integers n and m.Define two integers, num1 and num2, as follows: num1 : The s..