DSA practice sheet - maps and sets
Hi, fellow coders. If you are learning to code, you better need some hands on task done and apply your knowledge. Here is a sheet of maps and sets questions. I am here for you, just hang in there ;)
Warm-up:
https://leetcode.com/problems/single-number/ https://leetcode.com/problems/contains-duplicate/ https://leetcode.com/problems/contains-duplicate-ii/ https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/intersection-of-two-arrays/ https://leetcode.com/problems/find-the-difference/ https://leetcode.com/problems/intersection-of-two-arrays-ii/ https://leetcode.com/problems/longest-palindrome/
Practice Questions:
https://leetcode.com/problems/longest-substring-without-repeating-characters/ https://leetcode.com/problems/4sum/ https://leetcode.com/problems/valid-anagram/ https://leetcode.com/problems/group-anagrams/ https://leetcode.com/problems/word-pattern/ https://leetcode.com/problems/repeated-dna-sequences/ https://leetcode.com/problems/top-k-frequent-elements/ https://leetcode.com/problems/find-common-characters/ https://leetcode.com/problems/find-all-anagrams-in-a-string/ https://leetcode.com/problems/number-of-boomerangs/ https://leetcode.com/problems/sort-characters-by-frequency/ https://leetcode.com/problems/most-frequent-subtree-sum/ https://leetcode.com/problems/contiguous-array/ https://leetcode.com/problems/jewels-and-stones/ https://leetcode.com/problems/uncommon-words-from-two-sentences/ https://leetcode.com/problems/maximum-number-of-balloons/ https://leetcode.com/problems/kth-missing-positive-number/ https://leetcode.com/problems/find-words-that-can-be-formed-by-characters/
Extra Questions:
https://leetcode.com/problems/powerful-integers/ https://leetcode.com/problems/bulls-and-cows/ https://leetcode.com/problems/brick-wall/ https://cses.fi/problemset/task/1084