上一页 1 2 3 4 5 6 ··· 54 下一页
摘要: You are given a list of edges in a graph with weight. Find all the paths between start node and end node with min weights in the path. The edges like 阅读全文
posted @ 2021-06-25 01:58 北叶青藤 阅读(53) 评论(0) 推荐(0)
摘要: You have a browser of one tab where you start on the homepage and you can visit another url, get back in the history number of steps or move forward i 阅读全文
posted @ 2021-06-21 09:44 北叶青藤 阅读(40) 评论(0) 推荐(0)
摘要: We have n jobs, where every job is scheduled to be done from startTime[i] to endTime[i], obtaining a profit of profit[i]. You're given the startTime,  阅读全文
posted @ 2021-06-21 08:58 北叶青藤 阅读(86) 评论(0) 推荐(0)
摘要: We are given some website visits: the user with name username[i] visited the website website[i] at time timestamp[i]. A 3-sequence is a list of websit 阅读全文
posted @ 2021-06-21 07:40 北叶青藤 阅读(70) 评论(0) 推荐(0)
摘要: Design a stack which supports the following operations. Implement the CustomStack class: CustomStack(int maxSize) Initializes the object with maxSize  阅读全文
posted @ 2021-04-27 23:00 北叶青藤 阅读(111) 评论(0) 推荐(0)
摘要: You are given a data structure of employee information, which includes the employee's unique id, their importance value and their direct subordinates' 阅读全文
posted @ 2021-04-12 23:22 北叶青藤 阅读(60) 评论(0) 推荐(0)
摘要: Design a logger system that receives a stream of messages along with their timestamps. Each unique message should only be printed at most every 10 sec 阅读全文
posted @ 2021-04-12 22:44 北叶青藤 阅读(58) 评论(0) 推荐(0)
摘要: Alex and Lee play a game with piles of stones. There are an even number of piles arranged in a row, and each pile has a positive integer number of sto 阅读全文
posted @ 2021-04-09 23:59 北叶青藤 阅读(55) 评论(0) 推荐(0)
摘要: A permutation perm of n + 1 integers of all the integers in the range [0, n] can be represented as a string s of length n where: s[i] == 'I' if perm[i 阅读全文
posted @ 2021-04-09 22:47 北叶青藤 阅读(73) 评论(0) 推荐(0)
摘要: Given a n * n matrix grid of 0's and 1's only. We want to represent the grid with a Quad-Tree. Return the root of the Quad-Tree representing the grid. 阅读全文
posted @ 2021-04-09 22:32 北叶青藤 阅读(61) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 54 下一页