Thursday, September 20, 2018

Number of segments in a string

String easy level algorithms (shared 9) 
14. Longest Common Prefix
38. Count and Say
345. Reverse Vowels of a String
434. Number of Segments in a String
443. String Compression use count variable to avoid backward lookup
443. String Compression My idea -look ahead and backward
443. String Compression Elegant solution to learn
459. Repeated Substring Pattern
680. Valid Palindrome II Optimal solution
680. Valid Palindrome II 418/460 test cases passed Time limit exceeded
686. Repeated String Match memory limit exceeded for last test case 
686. Repeated String Match memory limit exceeded for last test case
859. Buddy Strings

No comments:

Post a Comment