摘要:
Right shift a given string by n characters. Assumptions The given string is not null. n >= 0. Examples "abc", 4 -> "cab" public class Solution { publi 阅读全文
posted @ 2020-02-19 21:26
xuan_abc
阅读(271)
评论(0)
推荐(0)
摘要:
Repeatedly remove all adjacent, repeated characters in a given string from left to right. No adjacent characters should be identified in the final str 阅读全文
posted @ 2020-02-19 11:49
xuan_abc
阅读(146)
评论(0)
推荐(0)
摘要:
Given an array that is initially stored in one stack, sort it with one additional stacks (total 2 stacks). After sorting the original stack should con 阅读全文
posted @ 2020-02-19 11:05
xuan_abc
阅读(189)
评论(0)
推荐(0)
摘要:
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single 阅读全文
posted @ 2020-02-19 09:57
xuan_abc
阅读(166)
评论(0)
推荐(0)
摘要:
Given a linked list, check whether it is a palindrome. Examples: Input: 1 -> 2 -> 3 -> 2 -> 1 -> null output: true. Input: 1 -> 2 -> 3 -> null output: 阅读全文
posted @ 2020-02-19 09:39
xuan_abc
阅读(137)
评论(0)
推荐(0)

浙公网安备 33010602011771号