[Leetcode] 0054. Spiral Matrix
Given an mxn matrix, return all elements of the matrix in spiral order.
[Leetcode] 0054. Spiral Matrix Read More »
Leetcode, Technical ArticleGiven an mxn matrix, return all elements of the matrix in spiral order.
[Leetcode] 0054. Spiral Matrix Read More »
Leetcode, Technical ArticleGiven an mxn integer matrix matrix, if an element is 0, set its entire row and column to 0's.
You must do it in place.
[Leetcode] 0073. Set Matrix Zeroes Read More »
Leetcode, Technical ArticleYou are given the head of a singly linked-list. The list can be represented as:
L0 → L1 → … → Ln – 1 → Ln
Reorder the list to be on the following form:
L0 → Ln → L1 → Ln – 1 → L2 → Ln – 2 → …
You may not modify the values in the list's nodes. Only nodes themselves may be changed.
[Leetcode] 0143. Reorder List Read More »
Leetcode, Technical ArticleThe rapid rise of AI is changing our world at an unprecedented speed, and NVIDIA is undoubtedly a pivotal driver in this wave! In the just-concluded CES 2024, NVIDIA's multiple announcements have once again led the industry direction. Whether it is breakthroughs in hardware performance or the popularization of AI applications, they have injected strong momentum into the future development of AI technology.
Today, we will focus on some of NVIDIA’s latest announcements at CES and how these updates will affect our future!
CES 2025: How does NVIDIA use 3 keys to promote AI technology innovation? Read More »
Technical ArticleGiven the head of a linked list, remove the nth node from the end of the list and return its head.
[Leetcode] 0019. Remove Nth Node From End of List Read More »
Leetcode, Technical ArticleGiven an array of meeting time intervals where intervals[i] = [starti, endi], determine if a person could attend all meetings.
[Leetcode] 0252. Meeting Rooms Read More »
Leetcode, Technical ArticleYou are given the heads of two sorted linked lists list1 and list2.
Merge the two lists in a one sorted list. The list should be made by splicing together the nodes of the first two lists.
Return the head of the merged linked list.
[Leetcode] 0021. Merge Two Sorted Lists Read More »
Leetcode, Technical Articleou are given an integer n. There are n rooms numbered from 0 to n – 1.
You are given a 2D integer array meetings where meetings[i] = [starti, endi] means that a meeting will be held during the half-closed time interval [starti, endi). All the values of starti are unique.
Meetings are allocated to rooms in the following manner:
Each meeting will take place in the unused room with the lowest number.
If there are no available rooms, the meeting will be delayed until a room becomes free. The delayed meeting should have the same duration as the original meeting.
When a room becomes unused, meetings that have an earlier original start time should be given the room.
Return the number of the room that held the most meetings. If there are multiple rooms, return the room with the lowest number.
A half-closed interval [a, b) is the interval between a and b including a and not including b.
[Leetcode] 2402. Meeting Rooms III Read More »
Leetcode, Technical ArticleGiven an array of meeting time intervals intervals where intervals[i] = [starti, endi], return the minimum number of conference rooms required.
[Leetcode] 0253. Meeting Rooms II Read More »
Leetcode, Technical ArticleYou are given an array of k linked-lists lists, each linked-list is sorted in ascending order.
Merge all the linked-lists into one sorted linked-list and return it.
[Leetcode] 0023. Merge k Sorted Lists Read More »
Leetcode, Technical Article