摘要: Given a string S, check if the letters can be rearranged so that two characters that are adjacent to each other are not the same. If possible, output 阅读全文
posted @ 2018-04-11 23:40 Grandyang 阅读(12233) 评论(7) 推荐(0)
Fork me on GitHub