摘要: Given a string s and an integer array indices of the same length. The string s will be shuffled such that the character at the ith position moves to i 阅读全文
posted @ 2020-07-27 10:50 Schwifty 阅读(253) 评论(0) 推荐(0)
摘要: Given the root of a binary tree and an integer distance. A pair of two different leaf nodes of a binary tree is said to be good if the length of the s 阅读全文
posted @ 2020-07-27 10:10 Schwifty 阅读(295) 评论(0) 推荐(0)
摘要: There is a room with n bulbs, numbered from 0 to n-1, arranged in a row from left to right. Initially all the bulbs are turned off. Your task is to ob 阅读全文
posted @ 2020-07-27 06:01 Schwifty 阅读(283) 评论(0) 推荐(0)