摘要: 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 阅读(136) 评论(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 阅读(139) 评论(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 阅读(296) 评论(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 阅读(116) 评论(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 阅读(179) 评论(0) 推荐(0)