Wednesday, October 7, 2020

1531. String Compression II

 Oct. 7, 2020

Introduction

I came cross this algorithm as a Google phone screen algorithm on Leetcode discussion post, so I like to spend time to work on. 

A few good ideas

I like to read carefully the following two discussion post. 

One is in Chinese. Another one is written in C#. 

Here is the solution I like to learn from. The player is top 2000 in Leetcode weekly contest. 



No comments:

Post a Comment