摘要:
Given two strings s and t, determine if they are both one edit distance apart. Note: There are 3 possiblities to satisify one edit distance apart: Ins 阅读全文
posted @ 2020-01-03 12:39
xuan_abc
阅读(150)
评论(0)
推荐(0)
摘要:
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 when one of 阅读全文
posted @ 2020-01-03 11:45
xuan_abc
阅读(115)
评论(0)
推荐(0)
摘要:
Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Input: "hello" Output: "holle" Example 2: Input: "le 阅读全文
posted @ 2020-01-03 11:40
xuan_abc
阅读(111)
评论(0)
推荐(0)
摘要:
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. If there ar 阅读全文
posted @ 2020-01-03 11:02
xuan_abc
阅读(120)
评论(0)
推荐(0)

浙公网安备 33010602011771号