LeetCode OJ Isomorphic Strings

Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All oc...

2015-04-29 23:40:34

阅读数:432

评论数:0

Sicily 14257. Myvim Plugin

14257. Myvim Plugin Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description For every programmer, coding HTML & CSS is a very bo...

2015-04-29 21:49:08

阅读数:424

评论数:0

Sicily 14180. Encoded Coordinates

14180. Encoded Coordinates Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description You have been monitoring a terrorist ce...

2015-04-29 19:23:42

阅读数:422

评论数:0

LeetCode OJ Count Primes

Description: Count the number of prime numbers less than a non-negative number, n click to show more hints. Credits: Special thanks to @m...

2015-04-29 11:12:18

阅读数:480

评论数:0

EMU8086 简单汇编程序&实现5个BYTES的数据相加

一个简单的汇编程序: .MODEL SMALL .STACK 64 .DATA DATA1 DB 52H DATA2 DB 29H SUM DB 0 .CODE ...

2015-04-27 20:17:54

阅读数:1629

评论数:0

Sicily 14181. Flying Safely

14181. Flying Safely Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Due to budget cuts, even spies have to use co...

2015-04-26 19:29:51

阅读数:570

评论数:0

LeetCode OJ Remove Linked List Elements

Remove all elements from a linked list of integers that have value val. Example Given: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, v...

2015-04-24 13:25:09

阅读数:529

评论数:0

LeetCode OJ Happy Number

Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any p...

2015-04-22 19:26:18

阅读数:440

评论数:0

Sicily 14184. Incognito

14184. Incognito Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Spies use attributes to disguise themselves to ma...

2015-04-19 23:43:02

阅读数:543

评论数:0

LeetCode OJ Bitwise AND of Numbers Range

Given a range [m, n] where 0 For example, given the range [5, 7], you should return 4. Credits: Special thanks to @amrsaqr for adding this pr...

2015-04-18 19:59:43

阅读数:447

评论数:0

Sicily 7693. Cards

7693. Cards Constraints Time Limit: 15 secs, Memory Limit: 256 MB Description There are many blue cards and red cards on the table....

2015-04-14 21:40:13

阅读数:438

评论数:0

Sicily 13460. Passwords

13460. Passwords Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Mirko is an evil plotting genius and has gotten h...

2015-04-13 20:33:32

阅读数:404

评论数:0

LeetCode Department Top Three Salaries

The Employee table holds all employees. Every employee has an Id, and there is also a column for the department Id. +----+-------+--------+-------...

2015-04-13 19:47:44

阅读数:606

评论数:0

Sicily 13980. Record Keeping

13980. Record Keeping Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Farmer John has been keeping detailed record...

2015-04-13 10:59:01

阅读数:506

评论数:0

Sicily 13981. Cow Baseball

13981. Cow Baseball Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Farmer John's N cows (3 As Farmer John wat...

2015-04-13 10:48:15

阅读数:507

评论数:0

Sicily 13983. Milk Scheduling

13983. Milk Scheduling Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Farmer John has N cows that need to be milk...

2015-04-13 00:49:46

阅读数:625

评论数:0

LeetCode Nth Highest Salary

Write a SQL query to get the nth highest salary from the Employee table. +----+--------+ | Id | Salary | +----+--------+ | 1 | 100 | | 2 | 200 ...

2015-04-12 22:58:46

阅读数:406

评论数:0

LeetCode 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 nu...

2015-04-12 18:43:33

阅读数:464

评论数:0

Postgresql 自增语句

如果只是简单地从1开始,递增值为1,可以这样写,serail是一种特殊的类型: 往Employee中添加值及其结果: 如果想设置更加详细的项,比如起始、递增值、最大值、最小值,可以定义一个sequence。 在sequence中,如果是no minvalue、no maxva...

2015-04-12 18:07:36

阅读数:609

评论数:0

LeetCode OJ Consecutive Numbers

Write a SQL query to find all numbers that appear at least three times consecutively. +----+-----+ | Id | Num | +----+-----+ | 1 | 1 | | 2 | 1 ...

2015-04-12 15:51:24

阅读数:558

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭