摘要: Balanced strings are those who have equal quantity of 'L' and 'R' characters. Given a balanced string s split it in the maximum amount of balanced str 阅读全文
posted @ 2020-02-22 13:56 Schwifty 阅读(225) 评论(0) 推荐(1)
摘要: Given an array arr, replace every element in that array with the greatest element among the elements to its right, and replace the last element with - 阅读全文
posted @ 2020-02-22 13:47 Schwifty 阅读(179) 评论(0) 推荐(0)
摘要: Return the number of distinct non-empty substrings of text that can be written as the concatenation of some string with itself (i.e. it can be written 阅读全文
posted @ 2020-02-22 13:17 Schwifty 阅读(320) 评论(0) 推荐(0)
摘要: You are given a square board of characters. You can move on the board starting at the bottom right square marked with the character 'S'. You need to r 阅读全文
posted @ 2020-02-22 12:16 Schwifty 阅读(223) 评论(0) 推荐(0)