摘要: https://www.cnblogs.com/sharpEric/p/9473127.html 阅读全文
posted @ 2018-08-14 11:35 gszzsg 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. 阅读全文
posted @ 2018-08-13 21:33 gszzsg 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given a string S and a character C, return an array of integers representing the shortest distance from the character C in the string. Example 1 阅读全文
posted @ 2018-08-13 20:11 gszzsg 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 题目描述: We are given two sentences A and B. (A sentence is a string of space separated words. Each word consists only of lowercase letters.) A word is u 阅读全文
posted @ 2018-08-12 16:09 gszzsg 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Write a function that takes a string as input and returns the string reversed. Example 1: Input: "hello" Output: "olleh" Example 2: Input: "A ma 阅读全文
posted @ 2018-08-11 17:08 gszzsg 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Example: Note: A word is defined as a sequence of non-space characters. Input string may contain leading or trailing spaces. However, your rever 阅读全文
posted @ 2018-08-10 20:09 gszzsg 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word or 阅读全文
posted @ 2018-08-09 20:14 gszzsg 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 题目描述: A website domain like "discuss.leetcode.com" consists of various subdomains. At the top level, we have "com", at the next level, we have "leetco 阅读全文
posted @ 2018-08-09 19:40 gszzsg 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 公积金可以直接异地申请办理,养老保险和医疗保险需在离职后在上海市相应部门开具相应转移文件。 具体事项见链接: https://blog.csdn.net/m0_37355951/article/details/80494617 阅读全文
posted @ 2018-08-09 10:48 gszzsg 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. Note: The give 阅读全文
posted @ 2018-08-08 21:04 gszzsg 阅读(89) 评论(0) 推荐(0) 编辑