摘要: Problem : Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the start of the string. I 阅读全文
posted @ 2020-04-15 15:56 littledy 阅读(70) 评论(0) 推荐(0) 编辑
摘要: Problem : You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears exa 阅读全文
posted @ 2020-04-15 13:33 littledy 阅读(69) 评论(0) 推荐(0) 编辑
摘要: Problem : Given a list of 24 hour clock time points in "Hour:Minutes" format, find the minimum minutes difference between any two time points in the l 阅读全文
posted @ 2020-04-15 11:25 littledy 阅读(96) 评论(0) 推荐(0) 编辑
摘要: Problem : Given two strings representing two complex numbers. You need to return a string representing their multiplication. Note i2 = 1 according to 阅读全文
posted @ 2020-04-15 10:35 littledy 阅读(99) 评论(0) 推荐(0) 编辑
摘要: Problem : Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right w 阅读全文
posted @ 2020-04-15 10:17 littledy 阅读(82) 评论(0) 推荐(0) 编辑
摘要: Problem : Given an integer, return its base 7 string representation. Example 1: Example 2: Note: The input will be in range of [ 1e7, 1e7]. 思路 : Solut 阅读全文
posted @ 2020-04-15 01:23 littledy 阅读(87) 评论(0) 推荐(0) 编辑
摘要: Problem : Given a circular array (the next element of the last element is the first element of the array), print the Next Greater Number for every ele 阅读全文
posted @ 2020-04-15 00:49 littledy 阅读(82) 评论(0) 推荐(0) 编辑
摘要: Problem : In LOL world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo's attack 阅读全文
posted @ 2020-04-15 00:11 littledy 阅读(101) 评论(0) 推荐(0) 编辑