摘要: 题目: You want to build a house on an empty land which reaches all buildings in the shortest amount of distance. You can only move up, down, left and ri 阅读全文
posted @ 2015-12-23 11:49 YRB 阅读(1525) 评论(0) 推荐(0)
摘要: 题目:Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure y... 阅读全文
posted @ 2015-12-23 05:07 YRB 阅读(1426) 评论(0) 推荐(0)
摘要: 题目:You are given an integer arraynumsand you have to return a newcountsarray. Thecountsarray has the property wherecounts[i]is the number of smaller e... 阅读全文
posted @ 2015-12-23 01:25 YRB 阅读(4078) 评论(0) 推荐(0)