Fundesk Data Structure & Algorithms Problems List
This is a curated list of all the important data structure & algorithms problems
asked during interviews by top companies
Data Structures & Algorithms Problems
- Maximum sum from non-adjacent subsequence
- Permute Two Arrays such that Sum of Every Pair is Greater or Equal to K
- Search an array where adjacent differ by at most k
- Product of array except self
- Inversion of Array
- Maximum product subarray
- 3 Sum
- Smallest window in string consisting of all characters of other string
- Make array elements equal with minimum cost
- Pair with given sum in rotated array
- 4 Sum - Find four elements that sum to a given target value
- Zero Sum Subarray
- Top k frequent elements
- Spiral Matrix
- Delete given node from linked list without head
- Rotate Image
- Remove duplicates from an unsorted singly linked list
- Replace 'O' with 'X' in a Matrix
- Word Search Grid Traversal
- Sort a Linked List with 0s 1s and 2s
- Counting Sort
- Common Element in all Rows of a Given Row-Wise Sorted Matrix
- Remove nth node from the end of Linked List
- Common Element in Sorted Array
- Container with most water
- Reorder List
- Ceiling in a sorted array
- Longest Repeating Character Replacement
- Intersection point of two linked lists
- Find pair with given difference
- Majority Frequency Element
- Longest subarray with sum divisible by k
- Find a pair with given sum in a rotated sorted array
- Find the no of islands in a 2D Array/Matrix
- Find the missing number in a sorted array
- Find minimum no of coins required for a given amount
- Best Time to Buy and Sell Stock
- Chocolate Distribution Problem
- Check for balanced brackets or valid parenthesis in an expression
- Remove consecutive characters from a string expression
- Print duplicate characters in a string
- Longest Substring Without Repeating Characters
- Group Anagrams
- Longest Palindromic Substring
- Count Palindromic Substrings
- Next Permutation
- Count the number of palindromic subsequences
- Zigzag (Diagonal) traversal of Matrix
- Set Matrix Zero
- Count triplets with sum less than given value