LeetCode41 [LeetCode] 76. Minimum Window Substring 문제 URL : https://leetcode.com/problems/minimum-window-substring/ Minimum Window Substring - LeetCode Can you solve this real interview question? Minimum Window Substring - Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every character in t (including duplicates) is included in the window. If t leetcode.com 문제 접근법 : 투포인터 + hashmap(c++.. 2023. 9. 12. [LeetCode] 34. Find First and Last Position of Element in Sorted Array 문제 URL : https://leetcode.com/problems/primary-department-for-each-employee/ Primary Department for Each Employee - LeetCode Can you solve this real interview question? Primary Department for Each Employee - Table: Employee +---------------+---------+ | Column Name | Type | +---------------+---------+ | employee_id | int | | department_id | int | | primary_flag | varchar | +---- leetcode.com 문제 .. 2023. 9. 12. [LeetCode] 185. Department Top Three Salaries 문제 URL : 185. Department Top Three Salaries Department Top Three Salaries - LeetCode Can you solve this real interview question? Department Top Three Salaries - Table: Employee +--------------+---------+ | Column Name | Type | +--------------+---------+ | id | int | | name | varchar | | salary | int | | departmentId | int | +-------------- leetcode.com 푸는방법은 다양합니다. with 를이용하여 dense rank over par.. 2023. 9. 6. [LeetCode] 239. Sliding Window Maximum 문제 URL : https://leetcode.com/problems/sliding-window-maximum/ Sliding Window Maximum - LeetCode Can you solve this real interview question? Sliding Window Maximum - You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers in the wind leetcode.com 문제접근법 : k사이즈 만큼 슬라이딩윈도우로 보이는 구간 .. 2023. 9. 6. 이전 1 2 3 4 5 6 ··· 11 다음