Helping engineers with technical interviews

Tag: Hash

Leetcode 463 Island Perimeter

Group Anagrams

The “Group Anagrams” problem is a common coding challenge that is often given to software engineers during technical interviews. Essentially, the problem involves grouping a list of words into sets of anagrams – that is, words that are made up of the same letters but in a different order. For example, the words “listen” and […]

Read More
Leetcode 463 Island Perimeter

Two Sum interview coding question solution

Leetcode Problem Statement: Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. All the solutions provided below use the same approach. We initialize an empty dictionary or hash map to store the indices of the numbers we have seen so far. […]

Read More

Powered by WordPress & Theme by Anders Norén