A bit simpler code using different Map functions
|
|
1
|
5
|
January 7, 2021
|
Why use a hashmap in the explanation when a hashet solution is simpler?
|
|
2
|
15
|
January 1, 2021
|
Question about the given code
|
|
1
|
5
|
January 1, 2021
|
Running time of Longest Substring with K Distinct Characters
|
|
3
|
21
|
December 18, 2020
|
Getting max_len value len(window_size) +1
|
|
2
|
18
|
November 29, 2020
|
Shrinking the sliding window unnecessary
|
|
1
|
17
|
November 28, 2020
|
Space complexity is O(1)
|
|
3
|
130
|
November 11, 2020
|
Why did we use base64 encoding after hashing (using md5) the URL. Can we not use the characters from the 128 bit hash value?
|
|
1
|
50
|
August 4, 2019
|
Can I use If instead of While as the results seems to be the same?
|
|
1
|
99
|
October 13, 2019
|