原文:[LeetCode] 767. Reorganize String 重构字符串

Given a stringS, check if the letters can be rearranged so that two characters that are adjacent to each other are not the same. If possible, output any possible result. If not possible, return the e ...

2018-04-11 23:40 6 7182 推荐指数:

查看详情

[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
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM