Рет қаралды 477
Hello guys, cheers to another piece of learning. Today I talked about the "Group Anagrams" problem which is the first in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it.
In the above video, I showed all the different logics with which the problem can be solved and also the codes to those logics in Python. Let me know if you got a hold of the logic?
Link to the Brute Force Pair generation explanation - • Contains Duplicate (Le...
Link to Hashsets and Hashmaps video - • Hashsets and HashMaps ...
Link to the problem - leetcode.com/problems/group-a...
Link to Java, C++, and Python solution - leetcode.com/problems/group-a...
Link to Neetcode 150 - neetcode.io/practice
Link to Contains Duplicate Problem - leetcode.com/problems/contain...
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 - Introduction and Problem Statement
02:33 - Brute Force Algorithm Intuition and Explanation
06:17 - Optimised Algorithm Intuition (Important)
13:48 - Algorithm and PseudoCode
20:28 - Code
22:08 - Conclusion