본문 바로가기

전체 글

(94)
[LeetCode] - 728. Self Dividing Numbers LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Self Dividing Numbers" 문제입니다.--> https://leetcode.com/problems/self-dividing-numbers/description/  문제 : A self-dividing number is a number that is divisible by every digit it contains.For example, 128 is a self-dividing number because 128 % 1 == 0, ..
[LeetCode] - 657. Robot Return to Origin LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Robot Return to Origin" 문제입니다.--> https://leetcode.com/problems/robot-return-to-origin/description/  문제 : There is a robot starting at the position (0, 0), the origin, on a 2D plane.Given a sequence of its moves, judge if this robot ends up at (0, 0..
[LeetCode] - 242. Valid Anagram LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Valid Anagram" 문제입니다.--> https://leetcode.com/problems/valid-anagram/description/  문제 : Given two strings s and t, return true if t is an anagram of s, and false otherwise.An Anagram is a word or phrase formed by rearranging the letters of a differe..
[LeetCode] - 338. Counting Bits LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Counting Bits" 문제입니다.--> https://leetcode.com/problems/counting-bits/description/  문제 : Given an integer n, return an array ans of length n + 1 such that for each i (0 ans[i] is the number of 1's in the binary representation of i.Example 1 : Input :..
[LeetCode] - 232. Implement Queue Using Stacks LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Implement Queue Using Stacks" 문제입니다.--> https://leetcode.com/problems/implement-queue-using-stacks/description/  문제 : Implement a first in first out (FIFO) queue using only two stacks.The implemented queue should support all the functions of a norma..
[LeetCode] - 169. Majority Element LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Majority Element" 문제입니다.--> https://leetcode.com/problems/majority-element/description/  문제 : Given an array nums of size n, return the majority element.The majority element is the element that appears more than ⌊n / 2⌋ times.You may assume that the..
[LeetCode] - 2496. Maximum Value of a String in an Array LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Maximum Value of a String in an Array" 문제입니다.--> https://leetcode.com/problems/maximum-value-of-a-string-in-an-array/description/  문제 : The value of an alphanumeric string can be defined as :The numeric representation of the string in base 10, if it..
[LeetCode] - 2441. Largest Positive Integer That Exists With Its Negative LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Largest Positive Integer That Exists With Its Negative" 문제입니다.--> https://leetcode.com/problems/largest-positive-integer-that-exists-with-its-negative/description/  문제 : Given an integer array nums that does not contain any zeros, find the largest p..