본문 바로가기

전체 글

(94)
[LeetCode] - 342. Power of Four LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Power of Four" 문제입니다.--> https://leetcode.com/problems/power-of-four/description/ 문제 : Given an integer n, return true if it is a power of four. Otherwise, return false.An integer n is a power of four, if there exists an integer x such that n == 4x...
[LeetCode] - 326. Power of Three LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Power of Three" 문제입니다.--> https://leetcode.com/problems/power-of-three/description/ 문제 : Given an integer n, return true if it is a power of three.Otherwise, return false. An integer n is a power of three, if there exists an integer x such that n ==..
[LeetCode] - 367. Valid Perfect Square LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Valid Perfect Square" 문제입니다.--> https://leetcode.com/problems/valid-perfect-square/description/ 문제 :Given a positive integer num, return true if num is a perfect square or false otherwise. A perfect square is an integer that is the square of an inte..
[LeetCode] - 26. Remove Duplicates from Sorted Array LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Remove Duplicates from Sorted Array" 문제입니다.--> https://leetcode.com/problems/remove-duplicates-from-sorted-array/description/  문제 : Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique elem..
[LeetCode] - 121. Best Time to Buy and Sell Stock LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Best Time to Buy and Sell Stock" 문제입니다.--> https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/ 문제 : You are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit b..
[LeetCode] - 268. Missing Number LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Missing Number" 문제입니다.--> https://leetcode.com/problems/missing-number/description/ 문제 : Given an array nums containing n distinct numbers in the range [0, n], return the only number in the range that is missing from the array.Example 1 : Input : nu..
[LeetCode] - 151. Reverse Words in a String LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '중간 (Medium)' 단계인 "Reverse Words in a String" 문제입니다.--> https://leetcode.com/problems/fizz-buzz/description/ 문제 : Given an input string s, reverse the order of the words.A word is defined as a sequence of non-space characters.The words in s will be separated by at l..
[LeetCode] - 35. Search Insert Position LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Search Insert Position" 문제입니다.--> https://leetcode.com/problems/search-insert-position/description/ 문제 : Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would b..