|
|
16. LeetCode 3005. Count Elements With Maximum Frequency
( 쿠케캬캬 개발 기록 | 24-03-08 20:12 )
|
반응형 https://leetcode.com/problems/count-elements-with-maximum-frequency class Solution { public: int maxFrequencyElements(vector<int>\& nums) { int cnt[101] = {0}, mx = 0, res = 0; for(int num : nums) mx = max(mx, ++... Tag: Algorithm, leetcode |
|
17. LeetCode 141. Linked List Cycle
( 쿠케캬캬 개발 기록 | 24-03-07 19:51 )
|
반응형 https://leetcode.com/problems/linked-list-cycle/description Linked List Cycle - LeetCode Can you solve this real interview question? Linked List Cycle - Given head, the head of a linked list, determi... Tag: Algorithm, leetcode |
|
18. LeetCode 876. Middle of the Linked List
( 쿠케캬캬 개발 기록 | 24-03-07 19:52 )
|
반응형 https://leetcode.com/problems/middle-of-the-linked-list/ 2개의 포인터를 각각 한 칸, 두 칸씩 이동해줍니다. 두 칸씩 이동한 포인터가 끝에 도달하면, 한 칸씩 이동한 포인터가 중간이 됩니다. class Solution { public: ListNode* middleNode(ListNode* ... Tag: Algorithm, leetcode |
|
19. LeetCode 543. Diameter of Binary Tree
( 쿠케캬캬 개발 기록 | 24-02-29 22:14 )
|
반응형 https://leetcode.com/problems/diameter-of-binary-tree/ Diameter of Binary Tree - LeetCode Can you solve this real interview question? Diameter of Binary Tree - Given the root of a binary tree, return ... Tag: Algorithm, leetcode |
|
20. LeetCode 1609. Even Odd Tree
( 쿠케캬캬 개발 기록 | 24-02-29 23:41 )
|
반응형 https://leetcode.com/problems/even-odd-tree Even Odd Tree - LeetCode Can you solve this real interview question? Even Odd Tree - A binary tree is named Even-Odd if it meets the following conditions: *... Tag: Algorithm, leetcode |
|
21. LeetCode 977. Squares of a Sorted Array
( 쿠케캬캬 개발 기록 | 24-03-02 18:06 )
|
반응형 https://leetcode.com/problems/squares-of-a-sorted-array Squares of a Sorted Array - LeetCode Can you solve this real interview question? Squares of a Sorted Array - Given an integer array nums sorted... Tag: Algorithm, leetcode |
|
22. LeetCode 19. Remove Nth Node From End of List
( 쿠케캬캬 개발 기록 | 24-03-03 12:37 )
|
반응형 https://leetcode.com/problems/remove-nth-node-from-end-of-list Remove Nth Node From End of List - LeetCode Can you solve this real interview question? Remove Nth Node From End of List - Given the head... Tag: Algorithm, leetcode |
|
23. LeetCode 268. Missing Number
( 쿠케캬캬 개발 기록 | 24-02-20 19:57 )
|
반응형 https://leetcode.com/problems/missing-number LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your k... Tag: Algorithm, leetcode |
|
24. LeetCode 2971. Find Polygon With the Largest Perimeter
( 쿠케캬캬 개발 기록 | 24-02-17 15:17 )
|
반응형 https://leetcode.com/problems/find-polygon-with-the-largest-perimeter LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the... Tag: Algorithm, leetcode |
|
25. LeetCode 1642. Furthest Building You Can Reach
( 쿠케캬캬 개발 기록 | 24-02-17 15:49 )
|
반응형 https://leetcode.com/problems/furthest-building-you-can-reach LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the... Tag: Algorithm, leetcode |
|
26. LeetCode 1481. Least Number of Unique Integers after K Removals
( 쿠케캬캬 개발 기록 | 24-02-17 16:31 )
|
반응형 https://leetcode.com/problems/least-number-of-unique-integers-after-k-removals/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly lan... Tag: Algorithm, leetcode |
|
27. LeetCode 231. Power of Two
( 쿠케캬캬 개발 기록 | 24-02-19 20:40 )
|
반응형 https://leetcode.com/problems/power-of-two/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your k... Tag: Algorithm, leetcode |
|
28. LeetCode 279. Perfect Squares
( 쿠케캬캬 개발 기록 | 24-02-08 21:18 )
|
반응형 https://leetcode.com/problems/perfect-squares/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand yo... Tag: Algorithm, leetcode |
|
29. LeetCode 368. Largest Divisible Subset
( 쿠케캬캬 개발 기록 | 24-02-10 18:47 )
|
반응형 https://leetcode.com/problems/largest-divisible-subset LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your k... Tag: Algorithm, leetcode |
|
30. LeetCode 1463. Cherry Pickup II
( 쿠케캬캬 개발 기록 | 24-02-12 14:18 )
|
반응형 https://leetcode.com/problems/cherry-pickup-ii LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge... Tag: Algorithm, leetcode |
|