原文:[LeetCode] String Compression 字符串压缩

Given an array of characters, compress itin place. The length after compression must always be smaller than or equal to the original array. Every element of the array should be acharacter not int of ...

2018-04-08 05:38 0 7430 推荐指数:

查看详情

[LeetCode] Rotate String 旋转字符串

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. ...

Mon Jul 02 06:13:00 CST 2018 1 3545
[LeetCode] Interleaving String 交织相错的字符串

Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. Example 1: Example 2: 这道求交织相错的字符串和之前那道 Word Break 的题很类似,就像 ...

Tue Feb 24 22:03:00 CST 2015 14 12425
[LeetCode] 394. Decode String 解码字符串

Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets ...

Wed Sep 07 21:01:00 CST 2016 8 22220
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM