Algorithm (2139) 썸네일형 리스트형 (C++) - LeetCode (easy) 1103. Distribute Candies to People https://leetcode.com/problems/distribute-candies-to-people/description/ Distribute Candies to People - LeetCode Can you solve this real interview question? Distribute Candies to People - We distribute some number of candies, to a row of n = num_people people in the following way: We then give 1 candy to the first person, 2 candies to the second person, and so on leetcode.com 구현 문제였습니다. 📕 풀이방법 📔 .. (C++) - LeetCode (easy) 1089. Duplicate Zeros https://leetcode.com/problems/duplicate-zeros/ Duplicate Zeros - LeetCode Can you solve this real interview question? Duplicate Zeros - Given a fixed-length integer array arr, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond the length of the original array are not writte leetcode.com 간단 구현 문제였습니다. 📕 풀이방법 📔 풀이과정 정답 vector 변수 ans와 0을 복사해 넣.. (C++) - LeetCode (easy) 1078. Occurrences After Bigram https://leetcode.com/problems/occurrences-after-bigram/description/ Occurrences After Bigram - LeetCode Can you solve this real interview question? Occurrences After Bigram - Given two strings first and second, consider occurrences in some text of the form "first second third", where second comes immediately after first, and third comes immediately after sec leetcode.com 문자열을 다루는 문제였습니다. 📕 풀이방법 .. (C++) - LeetCode (easy) 1051. Height Checker https://leetcode.com/problems/height-checker/description/ Height Checker - LeetCode Can you solve this real interview question? Height Checker - A school is trying to take an annual photo of all the students. The students are asked to stand in a single file line in non-decreasing order by height. Let this ordering be represented by the in leetcode.com 정렬을 이용한 문제였습니다. 📕 풀이방법 📔 입력 및 초기화 heights를 복.. (SQL) - LeetCode (easy) 1068. Product Sales Analysis I https://leetcode.com/problems/product-sales-analysis-i/ Product Sales Analysis I - LeetCode Can you solve this real interview question? Product Sales Analysis I - Table: Sales +-------------+-------+ | Column Name | Type | +-------------+-------+ | sale_id | int | | product_id | int | | year | int | | quantity | int | | price | int | +----------- leetcode.com join을 사용해보는 문제였습니다. 📕 풀이방법 📔 풀이과정 1... (SQL) - LeetCode (easy) 1050. Actors and Directors Who Cooperated At Least Three Times https://leetcode.com/problems/actors-and-directors-who-cooperated-at-least-three-times/ Actors and Directors Who Cooperated At Least Three Times - LeetCode Can you solve this real interview question? Actors and Directors Who Cooperated At Least Three Times - Table: ActorDirector +-------------+---------+ | Column Name | Type | +-------------+---------+ | actor_id | int | | director_id | int | | .. (C++) - LeetCode (easy) 1047. Remove All Adjacent Duplicates In String https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/description/ Remove All Adjacent Duplicates In String - LeetCode Can you solve this real interview question? Remove All Adjacent Duplicates In String - You are given a string s consisting of lowercase English letters. A duplicate removal consists of choosing two adjacent and equal letters and removing them. We repeatedl leetc.. (C++) - LeetCode (easy) 1046. Last Stone Weight https://leetcode.com/problems/last-stone-weight/description/ Last Stone Weight - LeetCode Can you solve this real interview question? Last Stone Weight - You are given an array of integers stones where stones[i] is the weight of the ith stone. We are playing a game with the stones. On each turn, we choose the heaviest two stones and smash them leetcode.com simulation 문제였습니다. 📕 풀이방법 📔 풀이과정 stones.. 이전 1 ··· 57 58 59 60 61 62 63 ··· 268 다음