上一页 1 2 3 4 5 6 7 ··· 53 下一页
摘要: You have a graph of n nodes. You are given an integer n and an array edges where edges[i] = [ai, bi] indicates that there is an edge between ai and bi 阅读全文
posted @ 2021-04-08 08:17 北叶青藤 阅读(165) 评论(0) 推荐(0) 编辑
摘要: We are given a list schedule of employees, which represents the working time for each employee. Each employee has a list of non-overlapping Intervals, 阅读全文
posted @ 2021-04-08 08:13 北叶青藤 阅读(55) 评论(0) 推荐(0) 编辑
摘要: You have a lock in front of you with 4 circular wheels. Each wheel has 10 slots: '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'. The wheels can rota 阅读全文
posted @ 2021-04-08 07:48 北叶青藤 阅读(58) 评论(0) 推荐(0) 编辑
摘要: S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to per 阅读全文
posted @ 2021-04-08 02:53 北叶青藤 阅读(41) 评论(0) 推荐(0) 编辑
摘要: Given an integer array nums sorted in non-decreasing order, return an array of the squares of each number sorted in non-decreasing order. Example 1: I 阅读全文
posted @ 2021-04-08 00:15 北叶青藤 阅读(42) 评论(0) 推荐(0) 编辑
摘要: You are given an n x n binary matrix grid. You are allowed to change at most one 0 to be 1. Return the size of the largest island in grid after applyi 阅读全文
posted @ 2021-04-07 12:49 北叶青藤 阅读(75) 评论(0) 推荐(0) 编辑
摘要: There are n cities connected by m flights. Each flight starts from city u and arrives at v with a price w. Now given all the cities and flights, toget 阅读全文
posted @ 2021-04-05 07:05 北叶青藤 阅读(52) 评论(0) 推荐(0) 编辑
摘要: Given a matrix of integers A with R rows and C columns, find the maximum score of a path starting at [0,0] and ending at [R-1,C-1]. The score of a pat 阅读全文
posted @ 2021-03-31 22:35 北叶青藤 阅读(58) 评论(0) 推荐(0) 编辑
摘要: Given a string S, check if the letters can be rearranged so that two characters that are adjacent to each other are not the same. If possible, output 阅读全文
posted @ 2021-03-29 06:23 北叶青藤 阅读(55) 评论(0) 推荐(0) 编辑
摘要: Given an array nums containing n distinct numbers in the range [0, n], return the only number in the range that is missing from the array. Follow up:  阅读全文
posted @ 2021-03-29 06:09 北叶青藤 阅读(58) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 53 下一页