LeetCode Question · Nov 2019 · Los Angeles

Microsoft | Hiring Event | String Compression

2 upvotes 1,851 views 2 replies

Question Details

Given an array of characters, return the array which has the a character followed by the value of number of times it appears. For example: If the input is [a,a,a,b,b,c,c,c,d,f,f,a,a,null] then...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Strings