Рет қаралды 393
Hello guys, cheers to another piece of learning. Today I talked why we use CountArrays and CountSort! Why do we need them when we have hashmaps?
And I also discussed the ideation behind using them in strings problems.
Link to Video on HashMaps - • Hashsets and HashMaps ...
This video is a part of Neetcode 150 playlist on my channel
Link to Neetcode 150 Playlist - • DSA Neetcode - 150
Link to Neetcode 150 - neetcode.io/practice
Regular updates from me on Discord, Insta and Telegram. I post job notifications of telegram and discord
Insta - / bharathh_chandraa
Telegram - t.me/thebharathchandra
Discord - / discord
00:00 - Intro
00:40 - What are Count Arrays
09:36 - Intuition
18:06 - Main Algorithm
23:47 - CountArrays vs Hashmaps
30:07 - CountArrays
38:48 - Conclusion