Coders Crushby Napplied AI

Data Structures & Algorithms

100+ curated problems from top tech interviews

AllArrays & HashingTwo PointersSliding Window
Coders Crushby Napplied AI

The ultimate interview preparation platform. Master System Design, DSA, and tackle community challenges to crush your FAANG interviews.

System Design

  • All Problems
  • Easy
  • Hard

DSA

  • All Problems
  • Dynamic Programming
  • Graphs

More

  • Problems Arena
  • Growth Paths
  • AI Discovery

Coders Crush by Napplied AI - Built for engineers preparing for FAANG/MAANG interviews

Stack & Queue
Binary Search
Linked Lists
Trees
Tries
Heap / Priority Queue
Graphs
Dynamic Programming
Backtracking
Greedy
Intervals
Math & Geometry
Bit Manipulation

7 problems found

Two Sum

#1
EasyArrays & Hashing

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each inp...

O(n) / O(n)
Google, Amazon

Contains Duplicate

#217
EasyArrays & Hashing

Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct....

O(n) / O(n)
Google, Amazon

Valid Anagram

#242
EasyArrays & Hashing

Given two strings s and t, return true if t is an anagram of s, and false otherwise. An Anagram is a word or phrase formed by rearranging the letters ...

O(n) / O(1)
Google, Amazon

Group Anagrams

#49
MediumArrays & Hashing

Given an array of strings strs, group the anagrams together. You can return the answer in any order....

O(n * k log k) / O(n * k)
Google, Amazon

Top K Frequent Elements

#347
MediumArrays & Hashing

Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order....

O(n) / O(n)
Google, Amazon

Product of Array Except Self

#238
MediumArrays & Hashing

Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i]. You must w...

O(n) / O(1)
Google, Amazon

Longest Consecutive Sequence

#128
MediumArrays & Hashing

Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence. You must write an algorithm that runs in O(n...

O(n) / O(n)
Google, Amazon