Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • DSA Tutorial
  • Data Structures
  • Algorithms
  • Array
  • Strings
  • Linked List
  • Stack
  • Queue
  • Tree
  • Graph
  • Searching
  • Sorting
  • Recursion
  • Dynamic Programming
  • Binary Tree
  • Binary Search Tree
  • Heap
  • Hashing
  • Divide & Conquer
  • Mathematical
  • Geometric
  • Bitwise
  • Greedy
  • Backtracking
  • Branch and Bound
  • Matrix
  • Pattern Searching
  • Randomized
Open In App
Next Article:
Top Interview Problems Asked in 2024 (Topic Wise)
Next article icon

Top Interview Problems Asked in 2024 (Topic Wise)

Last Updated : 26 May, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

In this post, we present a list of the latest asked data structures and algorithms (DSA) coding questions to help you prepare for interviews at leading tech companies like Meta, Google, Amazon, Apple, Microsoft, etc. This list helps you to cover an extensive variety of DSA Coding questions topic-wise.

Arrays

  1. Move All Zeroes to End
  2. Stock Buy and Sell
  3. Triplet Sum in Array
  4. Union of Arrays with Duplicates
  5. Maximum Product Subarray
  6. Next Permutation
  7. Subarrays with sum K
  8. Trapping Rain Water

Strings

  1. Roman Number to Integer
  2. Merge two strings
  3. Anagram
  4. Print Anagrams Together
  5. Group Shifted String
  6. Longest substring with distinct characters
  7. Smallest window containing all characters

Searching/Sorting

  1. Overlapping Intervals
  2. Majority Element
  3. Search in Rotated Sorted Array
  4. Top K Frequent in Array
  5. Median of 2 Sorted Arrays of Different Sizes
  6. Split Array Largest Sum
  7. Koko Eating Bananas
  8. Allocate Minimum Pages

Matrix

  1. Search in a Row-Column sorted matrix
  2. Spirally traversing a matrix
  3. Kth element in Matrix
  4. Is Valid Sudoku
  5. Solve the Sudoku

Stack/Queue

  1. Queue using two Stacks
  2. Parenthesis Checker
  3. Valid Expression
  4. Redundant Parenthesis

Linked List

  1. Delete in a Singly Linked List
  2. Kth from End of Linked List
  3. Reverse a Linked List in Groups
  4. Add Number Linked Lists
  5. Merge K sorted linked lists
  6. LRU Cache

Recursion/Backtracking

  1. Permutations of a String
  2. Generate Parentheses
  3. Finding Profession
  4. Combination Sum

Tree

  1. Level order traversal
  2. Root to leaf path sum
  3. Left View of Binary Tree
  4. Top View of Binary Tree
  5. Tree Boundary Traversal
  6. Serialize and Deserialize a binary tree
  7. Nodes at given distance in binary tree

Dynamic Programming

  1. Jump Game
  2. Ways to Reach the n'th Stair
  3. Minimum Window Substring
  4. Longest Increasing Subsequence
  5. Paint N House
  6. House Robber
  7. Coin Change (Count Ways)
  8. Unique Paths in a Grid
  9. RegEx matching
  10. Matrix Chain Multiplication

Greedy

  1. Minimum Platforms
  2. Activity Selection
  3. Task Scheduler
  4. String rp or pr

Heap

  1. Kth Smallest
  2. Kth Largest in a Stream
  3. Find median in a stream
  4. Huffman Encoding

Graph

  1. Rotten Oranges
  2. Cycle in a Directed Graph
  3. Bipartite Graph
  4. Course Schedule
  5. Find the number of islands
  6. Replace O's with X's
  7. Flood fill Algorithm
  8. Alien Dictionary
  9. Word Ladder I
  10. Word Ladder II

Bit Manipulation

  1. Bits Counting
  2. Non Repeating Numbers
  3. Sum of bit differences

Mathematical

  1. Faulty Keyboard

Reference Link
Top Interview Problems Asked in 2024 (Company Wise)



Next Article
Top Interview Problems Asked in 2024 (Topic Wise)

D

diwakar_mandal
Improve
Article Tags :
  • Interview Experiences
  • DSA
  • interview-preparation
  • Interview-Questions

Similar Reads

    Top Interview Problems Asked in 2024 (Company Wise)
    In this post, we present a list of the latest asked data structures and algorithms (DSA) coding questions to help you prepare for interviews at leading tech companies like Meta, Google, Amazon, Apple, Microsoft, etc. This list helps you to cover an extensive variety of DSA Coding questions.WalmartMo
    2 min read
    Top 50 Problems on Hash Data Structure asked in SDE Interviews
    Hashing is a technique or process of mapping keys, and values into the hash table by using a hash function. It is done for faster access to elements. The efficiency of mapping depends on the efficiency of the hash function used. To learn more about hashing and hashmaps, please refer to the Tutorial
    3 min read
    DP Problems Topic Wise
    DP Problems on MathsFibonacci NumbersTribonacci NumbersLucas NumberBinomial CoefficientPascal's Triangle GenerationNth Row of Pascal TriangleCatalan Number Matrix Chain MultiplicationDP Problems on StringsDecode WaysLongest Palindromic SubstringLongest Common SubstringEdit DistanceWord BreakPalindro
    1 min read
    Top HR Interview Questions and Answers (2025)
    HR interviews can be daunting but they don’t have to be. The bottom line in most hiring processes entails testing the personality of a candidate for their communication traits and company culture fit. Being at the initial or experienced levels of your career being prepared for commonly asked fresher
    15+ min read
    Wissen Technology Interview Experience | On-Campus 2021
    Wissen Technology visited our campus for a recruitment drive, providing an exciting opportunity for students to showcase their skills and secure positions in their esteemed organization.Job Title: AnalystJob Location: Mumbai, Pune, BangaloreEligibility: 7 CGPA and above (the company may shortlist)El
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences