Java(Set-Map)
Java(Set-Map)
com/in/anshulagarwal30
8. Find Two Numbers that Add Up to Target (Two Sum) using HashMap
📌 HashMap
Explanation: Splits the string into words and counts occurrences using .
📌 HashMap
Explanation: Iterates through each character and counts its frequency using a .
17. Find Two Numbers that Sum to a Target (Two Sum Problem)
📌 HashMap
Explanation: Uses a frequency count approach with .
https://www.linkedin.com/in/anshulagarwal30
📌
Explanation: Cleans the string and checks for palindrome.
📌
Explanation: Splits the sentence and finds the longest word.
https://www.linkedin.com/in/anshulagarwal30
Happy Learning ! 🌸