@waitin4agi_ My societyβs security guard (in his 40s) showed me a brutal accident video, convinced it was real. When I told him it was AI-generated. , he was in total disbelief. The gap in AI awareness is scary β people are mistaking fiction for reality.
Just had a meet with @ajeetunc about OS contributions , his journey with oss and @opensoxai . He is the right person to talk to for suggesting the clear roadmap ahead according to the person's current skillset .
(9/n)
HashMap solves the "Two Sum" problem beautifully. Instead of brute-forcing, you iterate once. For each number, you ask: "Does the " target - current_number " exist in my map?" If so, you've found your pair.
I had made a beginner friendly thread for Arrays and Hashing to understand with some relatable analogies!π #DSA#CodingInterview#LeetCode#datastructures#programming
(1/n)
First up: Arrays. Think of an array as your digital bookshelf or a line of numbered boxes.
(8/n)
HashSet is perfect for the "Contains Duplicate" problem. It's like a security guard with a party guest list. As people arrive, their names are added. If a name is already on the list, you've found a duplicate in O(1) time.