aixh
aixh
全部文章
分类
Java(117)
LeetCode(33)
Linux(1)
MongoDB(1)
MySQL(2)
计算机安全与网络编程(1)
归档
标签
去牛客网
登录
/
注册
aixh的博客
全部文章
(共155篇)
211. Add and Search Word - Data structure design
Design a data structure that supports the following two operations: void addWord(word) bool search(word) search(word) can search a literal word or a ...
2019-04-29
0
512
210. Course Schedule II
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 to...
2019-04-29
0
556
208. Implement Trie (Prefix Tree)
Implement a trie with insert, search, and startsWith methods. Example: Trie trie = new Trie(); trie.insert("apple"); trie.search("ap...
2019-04-29
0
661
207. Course Schedule
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 to...
2019-04-29
0
462
201. Bitwise AND of Numbers Range
待续。。。
2019-04-29
0
446
200. Number of Islands
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen...
2019-04-28
0
437
188. Best Time to Buy and Sell Stock IV
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may compl...
LeetCode
2019-04-28
0
2620
180. Consecutive Numbers
Write a SQL query to find all numbers that appear at least three times consecutively. +----+-----+ | Id | Num | +----+-----+ | 1 | 1 | | 2 | 1 ...
2019-04-28
0
491
178. Rank Scores
Write a SQL query to rank scores. If there is a tie between two scores, both should have the same ranking. Note that after a tie, the next ranking num...
2019-04-28
0
585
177. Nth Highest Salary
Write a SQL query to get the nth highest salary from the Employee table. +----+--------+ | Id | Salary | +----+--------+ | 1 | 100 | | 2 | 200 ...
2019-04-28
0
500
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页