随笔分类 - LeetCode
摘要:A city's skyline is the outer contour of the silhouette formed by all the buildings in that city when viewed from a distance. Now suppose you are give
阅读全文
摘要:Given a n,m which means the row and column of the 2D matrix and an array of pair A( size k). Originally, the 2D matrix is all 0 which means there is o
阅读全文
摘要:Given a list of Connections, which is the Connection class (the city name at both ends of the edge and a cost between them), find edges that can conne
阅读全文
摘要:A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy
阅读全文
摘要:There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prerequisites, for example to take course 0 you have t
阅读全文
摘要:Given two rectangles, find if the given two rectangles overlap or not. Given two rectangles, find if the given two rectangles overlap or not. Given tw
阅读全文

浙公网安备 33010602011771号