본문 바로가기

전체 글

(94)
[LeetCode] - 2235. Add Two Integers LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Add Two Integers" 문제입니다.--> https://leetcode.com/problems/add-two-integers/description/ 문제 : Given two integers num1 and num2, return the sum of the two integers.Example 1:Input : num1 = 12, num2 = 5Output : 17Explanation : num1 is 12, num2 is 5, an..
[LeetCode] - 977. Squares of a Sorted Array LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Squares of a Sorted Array" 문제입니다.--> https://leetcode.com/problems/squares-of-a-sorted-array/description/ 문제 : Given an integer array nums sorted in non-decreasing order, return an array of the squares of each number sorted in non-decreasing order.E..
[LeetCode] - 461. Hamming Distance LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Hamming Distance" 문제입니다.--> https://leetcode.com/problems/hamming-distance/description/ 문제 : The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, return the H..
[LeetCode] - 58. Length of Last Word LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Length of Last Word" 문제입니다.--> https://leetcode.com/problems/length-of-last-word/description/ 문제 : Given a string s consisting of words and spaces, return the length of the last word in the string.A word is a maximal substring consisting of non-spac..
[LeetCode] - 263. Ugly Number LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Ugly Number" 문제입니다.--> https://leetcode.com/problems/ugly-number/description/ 문제 : An ugly number is a positive integer whose prime factors are limited to 2, 3, and 5.Given an integer n, return true if n is an ugly number.Example 1 :Input : n = 6 Ou..
[LeetCode] - 66. Plus One LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Plus One" 문제입니다.--> https://leetcode.com/problems/plus-one/description/ 문제 : You are given a large integer represented as an integer array digits, where each digits[i] is the ith digit of the integer.The digits are ordered from most significant to l..
[LeetCode] - 744. Find Smallest Letter Greater Than Target LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Find Smallest Letter Greater Than Target" 문제입니다.--> https://leetcode.com/problems/find-smallest-letter-greater-than-target/description/ 문제 : You are given an array of characters letters that is sorted in non-decreasing order, and a character target...
[LeetCode] - 28. Find the Index of the First Occurrence in a String LeetCode는 프로그래밍 문제를 풀며 코딩 실력을 향상할 수 있는 온라인 플랫폼입니다. 다양한 알고리즘 및 데이터 구조 문제를 제공하며, 면접 대비에 유용합니다. 해당 문제는, LeetCode Problems에서 볼 수 있는 난이도 '쉬움 (Easy)' 단계인 "Find the Index of the First Occurrence in a String" 문제입니다.--> https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/description/ 문제 : Given two strings needle and haystack, return the index of the first occurrence of needl..