Algorithm (2139) 썸네일형 리스트형 (C++) - LeetCode (easy) 461. Hamming Distance https://leetcode.com/problems/hamming-distance/description/ Hamming Distance - LeetCode Can you solve this real interview question? Hamming Distance - The Hamming distance [https://en.wikipedia.org/wiki/Hamming_distance] between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, leetcode.com bitmasking으로 푼 문제였습니다. 📕 풀이방법 📔 입력 및 초기화 .. (C++) - LeetCode (easy) 459. Repeated Substring Pattern https://leetcode.com/problems/repeated-substring-pattern/description/ Repeated Substring Pattern - LeetCode Can you solve this real interview question? Repeated Substring Pattern - Given a string s, check if it can be constructed by taking a substring of it and appending multiple copies of the substring together. Example 1: Input: s = "abab" Output: true Expl leetcode.com 문자열을 다루는 문제였습니다. 📕 풀이방법.. (C++) - LeetCode (easy) 455. Assign Cookies https://leetcode.com/problems/assign-cookies/description/ Assign Cookies - LeetCode Can you solve this real interview question? Assign Cookies - Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a greed factor g[i], which is the minimum size o leetcode.com greedy 또는 이분탐색으로 푼 문제였습니다. 📕 풀이방법 📔 입력 및 초기화.. (C++) - LeetCode (easy) 448. Find All Numbers Disappeared in an Array 구현 문제였습니다. https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/description/ Find All Numbers Disappeared in an Array - LeetCode Can you solve this real interview question? Find All Numbers Disappeared in an Array - Given an array nums of n integers where nums[i] is in the range [1, n], return an array of all the integers in the range [1, n] that do not appear in nums. Example .. (C++) - LeetCode (easy) 441. Arranging Coins https://leetcode.com/problems/arranging-coins/description/ Arranging Coins - LeetCode Can you solve this real interview question? Arranging Coins - You have n coins and you want to build a staircase with these coins. The staircase consists of k rows where the ith row has exactly i coins. The last row of the staircase may be incomplete. Give leetcode.com 구현 문제였습니다. 📕 풀이방법 📔 입력 및 초기화 정답 ans를 선언해줍니.. (C++) - LeetCode (easy) 434. Number of Segments in a String https://leetcode.com/problems/number-of-segments-in-a-string/description/ (Python) - LeetCode (easy) 415. Add Strings https://leetcode.com/problems/add-strings/description/ Add Strings - LeetCode Can you solve this real interview question? Add Strings - Given two non-negative integers, num1 and num2 represented as string, return the sum of num1 and num2 as a string. You must solve the problem without using any built-in library for handling large in leetcode.com bigint 연산을 지원하는 python을 이용해 해결했습니다. 📕 풀이방법 📔 풀이과정 .. (C++) - LeetCode (easy) 414. Third Maximum Number https://leetcode.com/problems/third-maximum-number/description/ Third Maximum Number - LeetCode Can you solve this real interview question? Third Maximum Number - Given an integer array nums, return the third distinct maximum number in this array. If the third maximum does not exist, return the maximum number. Example 1: Input: nums = [3,2,1] Outp leetcode.com set을 이용해 푼 문제였습니다. 📕 풀이방법 📔 풀이과정 1... 이전 1 ··· 73 74 75 76 77 78 79 ··· 268 다음