👨‍💻
Cracking-Interview
CtrlK
  • Data Structures and Algorithms
  • Arrays
    • 1. Two Sums
    • 2. Rotate Array
    • 3.Remove Duplicates from sorted array
    • 4.Merge Two Sorted Array
    • 5.Majority Element
    • 6.Rotate Image
    • 7.Merge Intervals
    • 8.Increasing Triplet Subsequence
    • 9.Set Matrix Zeroes
    • 10.Product of Array Except Self
    • 11.Container With Most Water
    • 12.Next Permutation
    • 13.Next Greater Element III
    • 14.Largest Number
    • 15.Candy
    • 16.Shortest Unsorted Continuous Subarray
    • 17.Sort Colors(Sort array of 0, 1, 2)
    • 18.Queue Reconstruction by Height
    • 19.Task Scheduler
    • 20.Trapping Rain Water
    • 21.Search a 2D Matrix II
    • 22. Spiral Matrix
    • 23.Median of Two Sorted Arrays
    • 24.Count inversion of an array
    • 25. Reverse Pairs
    • 26. Count Servers that Communicate
    • 27. 3Sum
    • 28. 4Sum
    • 29. Game of Life
    • 30. Sort the Matrix Diagonally
    • 31. Push Dominoes
    • 32. Corporate Flight Bookings
    • 33. Rotating the Box
    • 34. Interval List Intersections
    • 35. Insert Interval
    • 36. Minimum Moves to Equal Array Elements II
    • 37. Pairs of Songs With Total Durations Divisible by 60
    • 38. Remove Covered Intervals
    • Juggling Algorithm
    • Moore’s Voting Algorithm
    • Two Pointer Method
  • Linked List
  • Strings
  • Binary Tree
  • Stack and Queue
  • Hash Table
  • Binary Search
  • Binary Search Tree
  • Bit manipulation
  • Graph
  • Disjoint Sets(Union-Find)
  • Heap and Priority Queue
  • Trie
  • Dynamic Programming
  • Greedy Algorithms
  • Backtracking
  • Sub Array and Sliding Window Problems
  • Design
  • Maths
  • Sorting-Algorithms
    • Merge Sort
    • Quick Sort
    • Heap Sort
    • Selection Sort
    • Bubble Sort
    • Insertion Sort
  • Expected Interview MCQ and Questions c++
  • Concepts in C++
  • System Design Questions
  • 💾DBMS
    • Introduction
    • RBMS
    • JOINS
    • SQL
  • 🖥️OS
    • OS and Its Types
    • Process Concept and Threads
    • Process Synchronization
    • Deadlock in Operating System
    • Memory Management
    • Imp Questions of OS for Interviews
  • 🚙OOPS
    • Introduction and Definitions
  • 📨COMPUTER-NETWORKS
    • OSI | TCP IP Model
    • Topology
    • Network Devices
    • IP Address
Powered by GitBook
On this page

Was this helpful?

Arrays

Various problems related to Array's.

Problems in this section:-

1. Two Sums2. Rotate Array3.Remove Duplicates from sorted array4.Merge Two Sorted Array5.Majority Element6.Rotate Image7.Merge Intervals8.Increasing Triplet Subsequence9.Set Matrix Zeroes10.Product of Array Except Self11.Container With Most Water12.Next Permutation13.Next Greater Element III14.Largest Number15.Candy16.Shortest Unsorted Continuous Subarray17.Sort Colors(Sort array of 0, 1, 2)18.Queue Reconstruction by Height19.Task Scheduler20.Trapping Rain Water21.Search a 2D Matrix II22. Spiral Matrix23.Median of Two Sorted Arrays24.Count inversion of an array25. Reverse Pairs26. Count Servers that Communicate27. 3Sum28. 4Sum30. Sort the Matrix Diagonally31. Push Dominoes32. Corporate Flight Bookings33. Rotating the Box34. Interval List Intersections35. Insert Interval36. Minimum Moves to Equal Array Elements II37. Pairs of Songs With Total Durations Divisible by 6038. Remove Covered Intervals

Concepts in this section:-

Two Pointer MethodJuggling AlgorithmMoore’s Voting Algorithm
PreviousData Structures and AlgorithmsNext1. Two Sums

Last updated 3 years ago

Was this helpful?