Url: https://leetcode.com/problems/task-scheduler/description/ Given a char array representing tasks CPU need to do. It contains capital letters A to Z where different letters represent different tasks.Tasks could ...
Browsing category: LeetCode – Amazon
[LeetCode] Largest Rectangle in Histogram
Url: https://leetcode.com/problems/largest-rectangle-in-histogram Question: Given n non-negative integers representing the histogram’s bar height where the width of each bar is 1, find the area of largest rectangle ...
[LeetCode] Merge 2 Sorted LinkedList
Url: https://leetcode.com/problems/merge-two-sorted-lists Question: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes ...
[LeetCode] Merge K Sorted Lists
url: https://leetcode.com/problems/merge-k-sorted-lists Question: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. k개의 정렬된 링크드 리스트를 합치는 문제. ...
[LeetCode] 3Sum
Url: https://leetcode.com/problems/3sum/description/ Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? ...
[LeetCode] Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each ...