上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 76 下一页
摘要: Given a string S, return the "reversed" string where all characters that are not a letter stay in the same place, and all letters reverse their positi 阅读全文
posted @ 2018-10-26 10:55 bernieloveslife 阅读(104) 评论(0) 推荐(0)
摘要: You're now a baseball game point recorder. Given a list of strings, each string can be one of the 4 following types: 1. Integer (one round's score): D 阅读全文
posted @ 2018-10-26 10:55 bernieloveslife 阅读(118) 评论(0) 推荐(0)
摘要: Given a non empty array of digits representing a non negative integer, plus one to the integer. The digits are stored such that the most significant d 阅读全文
posted @ 2018-10-26 10:54 bernieloveslife 阅读(98) 评论(0) 推荐(0)
摘要: Given a group of two strings, you need to find the longest uncommon subsequence of this group of two strings. The longest uncommon subsequence is defi 阅读全文
posted @ 2018-10-25 10:37 bernieloveslife 阅读(139) 评论(0) 推荐(0)
摘要: Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at 阅读全文
posted @ 2018-10-25 10:36 bernieloveslife 阅读(141) 评论(0) 推荐(0)
摘要: Find the minimum length word from a given dictionary words, which has all the letters from the string licensePlate. Such a word is said to complete th 阅读全文
posted @ 2018-10-25 10:36 bernieloveslife 阅读(298) 评论(0) 推荐(0)
摘要: On a N N grid, we place some 1 1 1 cubes. Each value v = grid[i][j] represents a tower of v cubes placed on top of grid cell (i, j). Return the total 阅读全文
posted @ 2018-10-25 10:36 bernieloveslife 阅读(118) 评论(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 convert the 阅读全文
posted @ 2018-10-25 10:36 bernieloveslife 阅读(182) 评论(0) 推荐(0)
摘要: Design a HashMap without using any built in hash table libraries. To be specific, your design should include these functions: put(key, value) : Insert 阅读全文
posted @ 2018-10-24 22:03 bernieloveslife 阅读(222) 评论(0) 推荐(0)
摘要: We are given two strings, A and B. A shift on A consists of taking string A and moving the leftmost character to the rightmost position. For example, 阅读全文
posted @ 2018-10-24 22:03 bernieloveslife 阅读(94) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 76 下一页