上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 77 下一页
摘要: [抄题]: Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: Example 1: Example 2: Example 3: [暴力解法 阅读全文
posted @ 2018-05-01 22:05 苗妙苗 阅读(226) 评论(0) 推荐(0)
摘要: [抄题]: Given a column title as appear in an Excel sheet, return its corresponding column number. For example: Example 1: Example 2: Example 3: [暴力解法]: 阅读全文
posted @ 2018-05-01 17:04 苗妙苗 阅读(437) 评论(0) 推荐(0)
摘要: [抄题]: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is 阅读全文
posted @ 2018-05-01 16:08 苗妙苗 阅读(147) 评论(0) 推荐(0)
摘要: [抄题]: 将一个整数中的数字进行颠倒,当颠倒后的整数溢出时,返回 0 (标记为 32 位整数)。 将一个整数中的数字进行颠倒,当颠倒后的整数溢出时,返回 0 (标记为 32 位整数)。 将一个整数中的数字进行颠倒,当颠倒后的整数溢出时,返回 0 (标记为 32 位整数)。 样例 给定 x = 12 阅读全文
posted @ 2018-05-01 11:33 苗妙苗 阅读(143) 评论(0) 推荐(0)
摘要: [抄题]: Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Examp 阅读全文
posted @ 2018-05-01 10:18 苗妙苗 阅读(114) 评论(0) 推荐(0)
摘要: [抄题]: A sentence S is given, composed of words separated by spaces. Each word consists of lowercase and uppercase letters only. We would like to conve 阅读全文
posted @ 2018-04-30 22:39 苗妙苗 阅读(256) 评论(0) 推荐(0)
摘要: [抄题]: Given a paragraph and a list of banned words, return the most frequent word that is not in the list of banned words. It is guaranteed there is a 阅读全文
posted @ 2018-04-30 17:02 苗妙苗 阅读(230) 评论(0) 推荐(0)
摘要: [抄题]: Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i h 阅读全文
posted @ 2018-04-30 15:36 苗妙苗 阅读(148) 评论(0) 推荐(0)
摘要: [抄题]: Given a binary search tree (BST) with duplicates, find all the mode(s) (the most frequently occurred element) in the given BST. Assume a BST is 阅读全文
posted @ 2018-04-30 10:00 苗妙苗 阅读(150) 评论(0) 推荐(0)
摘要: [抄题]: Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), determine if a person could attend a 阅读全文
posted @ 2018-04-29 21:50 苗妙苗 阅读(172) 评论(0) 推荐(0)
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 77 下一页