Skip to content
geeksforgeeks
  • Courses
    • Summer Skill Up
      • Android App Development (Live)
      • Data Science (Live)
    • Data Structures and Algorithms
      • DSA for Interview Preparation
      • DSA Live for Working Professionals
      • DSA Self-paced in C++/Java
      • DSA Self-paced in Python
      • DSA Self-paced in Javascript
      • DSA Self-paced in C
    • For Working Professionals
      • Data Structure & Algorithm Classes (Live)
      • System Design (Live)
      • DevOps(Live)
      • Data Structures & Algorithms in JavaScript
      • Explore More Live Courses
    • For Students
      • Interview Preparation Course
      • Data Science (Live)
      • GATE CS & IT 2024
      • Data Structures & Algorithms in JavaScript
      • Data Structure & Algorithm-Self Paced(C++/JAVA)
      • Data Structures & Algorithms in Python
      • Explore More Self-Paced Courses
    • Programming Languages
      • C++ Programming - Beginner to Advanced
      • Java Programming - Beginner to Advanced
      • C Programming - Beginner to Advanced
    • Web Development
      • Full Stack Development with React & Node JS(Live)
      • Java Backend Development(Live)
      • Android App Development with Kotlin(Live)
      • Python Backend Development with Django(Live)
    • Machine Learning and Data Science
      • Complete Data Science Program(Live)
      • Mastering Data Analytics
    • New Courses
      • Python Backend Development with Django(Live)
      • Android App Development with Kotlin(Live)
      • DevOps Engineering - Planning to Production
    • School Courses
      • CBSE Class 12 Computer Science
      • School Guide
    • All Courses
  • Tutorials
    • DSA
    • Data Structures
      • Arrays
      • Matrix
      • Strings
      • Linked List
        • Singly Linked List
        • Doubly Linked List
        • Circular Linked List
        • Doubly Circular linked list
      • Stack
      • Queue
      • Tree
        • Generic Tree
        • Binary Tree
        • Binary Search Tree
        • AVL Tree
        • B Tree
        • B+ Tree
        • Red Black Tree
        • All Tree Data Structures
      • Heap
      • Hashing
      • Graph
      • Set Data Structure
      • Map Data Structure
      • Advanced Data Structure
      • All Data Structures
    • Algorithms
      • Analysis of Algorithms
        • Design and Analysis of Algorithms
        • Asymptotic Analysis
        • Worst, Average and Best Cases
        • Asymptotic Notations
        • Little o and little omega notations
        • Lower and Upper Bound Theory
        • Analysis of Loops
        • Solving Recurrences
        • Amortized Analysis
        • What does 'Space Complexity' mean ?
        • Pseudo-polynomial Algorithms
        • Polynomial Time Approximation Scheme
        • A Time Complexity Question
      • Searching Algorithms
        • Linear Search
        • Binary Search
        • All Searching Algorithms
      • Sorting Algorithms
        • Selection Sort
        • Bubble Sort
        • Insertion Sort
        • Merge Sort
        • Quick Sort
        • Heap Sort
        • Counting Sort
        • Radix Sort
        • Bucket Sort
        • All Sorting Algorithms
      • Greedy Algorithms
      • Dynamic Programming
      • Graph Algorithms
      • Pattern Searching
      • Recursion
      • Backtracking
      • Divide and Conquer
      • Geometric Algorithms
      • Mathematical
      • Bitwise Algorithms
      • Randomized Algorithms
      • Branch and Bound
      • All Algorithms
    • System Design
      • System Design Tutorial
        • What is System Design
        • Key Terminologies in System Design
        • Analysis and Architecture of Systems
        • Scalability in System Design
        • Databases in System Design
        • High Level Design or HLD
        • Low Level Design or LLD
        • Communication Protocols
        • Web Servers and Proxies
        • Case Studies in Designing Systems
        • Complete System Design Tutorial
      • Software Design Patterns
        • Factory Pattern
        • Observer Pattern
        • Singleton Design Pattern
        • Decorator Pattern
        • Strategy Pattern
        • Adapter Pattern
        • Command Pattern
        • Iterator Pattern
        • Prototype Design Pattern
        • All Design Patterns
    • Interview Corner
      • Company Preparation
      • Top Topics
      • Practice Company Questions
      • Interview Experiences
      • Experienced Interviews
      • Internship Interviews
      • Competitive Programming
      • Multiple Choice Quizzes
      • Aptitude for Placements
    • Languages
      • C
      • C++
      • Java
      • Python
      • JavaScript
      • PHP
      • C#
      • SQL
      • Scala
      • Perl
      • Go Language
      • Kotlin
    • Web Development
      • HTML
      • CSS
      • JavaScript
      • PHP
      • CSS Frameworks
        • Bootstrap
        • Tailwind CSS
        • Foundation CSS
        • Materialize CSS
        • Bulma
        • Pure CSS
        • Primer CSS
        • Blaze UI
        • Semantic UI
      • JavaScript Frameworks
        • AngularJS
        • Angular PrimeNG
        • Angular ngx Bootstrap
        • NodeJS
        • Express.js
      • JavaScript Libraries
        • jQuery
        • jQuery Mobile
        • jQuery UI
        • jQuery EasyUI
        • jQWidgets
        • ReactJS
        • React Bootstrap
        • React Rebass
        • React Desktop
        • React Suite
        • ReactJS Evergreen
        • ReactJS Reactstrap
        • Ant Design
        • BlueprintJS
        • p5.js
        • Lodash
        • TensorFlow.js
        • Moment.js
        • Collect.js
      • WordPress
      • JSON
    • School Learning
      • English Grammar
      • School Programming
      • Mathematics
        • Number System
        • Algebra
        • Trigonometry
        • Statistics
        • Probability
        • Geometry
        • Mensuration
        • Calculus
      • CBSE Syllabus
        • Class 8 Syllabus
        • Class 9 Syllabus
        • Class 10 Syllabus
        • Class 11 Syllabus
        • Class 12 Syllabus
      • Maths Notes (Class 8-12)
        • Class 8 Notes
        • Class 9 Notes
        • Class 10 Notes
        • Class 11 Notes
        • Class 12 Notes
      • Maths Formulas (Class 8 -11)
        • Class 8 Formulas
        • Class 9 Formulas
        • Class 10 Formulas
        • Class 11 Formulas
      • NCERT Solutions
        • Class 8 Maths Solution
        • Class 9 Maths Solution
        • Class 10 Maths Solution
        • Class 11 Maths Solution
        • Class 12 Maths Solution
      • RD Sharma Solutions
        • Class 8 Maths Solution
        • Class 9 Maths Solution
        • Class 10 Maths Solution
        • Class 11 Maths Solution
        • Class 12 Maths Solution
      • Science Notes
        • Class 8 Notes
        • Class 9 Notes
        • Class 10 Notes
      • Physics Notes (Class 8-12)
        • Class 8 Notes
        • Class 9 Notes
        • Class 10 Notes
        • Class 11 Notes
        • Class 12 Notes
      • Chemistry Notes (Class 8-12)
        • Class 8 Notes
        • Class 9 Notes
        • Class 10 Notes
        • Class 11 Notes
        • Class 12 Notes
      • Biology Notes
        • Class 8
        • Class 9
        • Class 10
        • Class 11
      • Social Science Syllabus
        • Class 7 SS Syllabus
        • Class 8 SS Syllabus
        • Class 9 SS Syllabus
        • Class 10 SS Syllabus
      • Social Science Notes
        • SS Notes (Class 7-12)
          • Class 7 Notes
          • Class 8 Notes
          • Class 9 Notes
          • Class 10 Notes
        • CBSE History Notes (Class 7-10)
          • History Class 7
          • History Class 8
          • History Class 9
        • CBSE Geography Notes (Class 7-10)
          • Geo. Class 7
          • Geo. Class 8
          • Geo. Class 9
        • CBSE Civics Notes (Class 7-10)
          • Civics Class 7
          • Civics Class 8
      • Commerce
        • Business Studies (Class 11th)
        • Microeconomics (Class 11th)
        • Statistics for Economics (Class 11th)
        • Business Studies (Class 12th)
        • Accountancy (Class 12th)
        • Macroeconomics (Class 12th)
      • CBSE Previous Year Papers
        • Maths
        • Physics
        • History
        • Georgraphy
        • Political Science
        • Economics
    • ML & Data Science
      • Machine Learning
      • Data Science
    • DevOps
      • GIT
      • AWS
      • Docker
      • Kubernetes
      • Microsoft Azure Tutorial
      • Google Cloud Platform
    • CS Subjects
      • Mathematics
      • Operating System
      • DBMS
      • Computer Networks
      • Computer Organization and Architecture
      • Theory of Computation
      • Compiler Design
      • Digital Logic
      • Software Engineering
    • GATE
      • GATE 2024 Live Course
      • GATE Computer Science Notes
      • Last Minute Notes
      • GATE CS Solved Papers
      • GATE CS Original Papers and Official Keys
      • GATE CS 2023 Syllabus
      • Important Topics for GATE CS
      • GATE 2023 Important Dates
      • Other CS Exams
        • ISRO
          • ISRO CS Original Papers and Official Keys
          • ISRO CS Solved Papers
          • ISRO CS Syllabus for Scientist/Engineer Exam
        • UGC NET
          • UGC NET CS Notes Paper II
          • UGC NET CS Notes Paper III
          • UGC NET CS Solved Papers
    • GFG Sheets
      • Web Dev Cheat Sheets
        • HTML Cheat Sheet
        • CSS Cheat Sheet
        • Bootstrap Cheat Sheet
        • JS Cheat Sheet
        • jQuery Cheat Sheet
        • Angular Cheat Sheet
      • Company-Wise SDE Sheets
        • Facebook SDE Sheet
        • Amazon SDE Sheet
        • Apple SDE Sheet
        • Netflix SDE Sheet
        • Google SDE Sheet
        • Wipro Coding Sheet
        • Infosys Coding Sheet
        • TCS Coding Sheet
        • Cognizant Coding Sheet
        • HCL Coding Sheet
      • DSA Sheets
        • SDE Sheet
        • FAANG Coding Sheet
        • Love Babbar Sheet
        • Mass Recruiter Sheet
        • Product-Based Coding Sheet
        • Company-Wise Preparation Sheet
        • Array Sheet
        • String Sheet
        • Tree Sheet
        • Graph Sheet
        • DP Sheet
    • UPSC
      • Geography Notes
      • History Notes
        • Modern Indian History Notes
        • Medieval Indian History Notes
        • Ancient Indian History Notes
        • Complete History Notes
      • Science & Tech. Notes
      • Ethics Notes
      • Polity Notes
      • Economics Notes
      • Government Schemes (Updated)
      • UPSC Previous Year Papers
    • Student
      • Campus Ambassador Program
      • School Ambassador Program
      • Project
      • Geek of the Month
      • Campus Geek of the Month
      • Placement Course
      • Competitive Programming
      • Testimonials
      • Student Chapter
      • Geek on the Top
      • Internship
      • Careers
    • SSC CGL
      • SSC CGL Syllabus
      • General Studies
      • English
      • Reasoning
      • Subjectwise Practice Papers
      • Previous Year Papers
    • Banking Exams
      • SBI Clerk
        • SBI Clerk Syllabus
        • General Awareness
        • English
        • Quantitative Aptitude
        • Reasoning Ability
        • SBI Clerk Practice Papers
      • SBI PO
        • SBI PO Syllabus
        • General Awareness
        • English
        • Quantitative Aptitude
        • Reasoning Ability
        • Previous Year Papers
        • SBI PO Practice Papers
      • IBPS PO
        • IBPS PO 2022 Syllabus
        • English Notes
        • Reasoning Notes
        • Previous Year Papers
        • Mock Question Papers
        • General Awareness
      • IBPS Clerk
        • IBPS Clerk Syllabus
        • English Notes
        • Previous Year Papers
  • Jobs
    • Corporate Hiring Solutions
    • Apply through Jobathon
    • Apply for a Job
  • Practice
    • All DSA Problems
    • Problem of the Day
    • GFG SDE Sheet
    • Curated DSA Lists
      • Top 50 Array Problems
      • Top 50 String Problems
      • Top 50 Tree Problems
      • Top 50 Graph Problems
      • Top 50 DP Problems
  • Contests
    • GFG Weekly Coding Contest
    • Job-A-Thon: Hiring Challenge
    • BiWizard School Contest
    • All Contests and Events
  • Home
  • Saved Videos
  • Courses
    • GBlog
    • Puzzles
    • What's New ?
    • Trending Now
    • DSA
    • Data Structures
    • Algorithms
    • Interview Preparation
    • Data Science
    • Topic-wise Practice
    • Python
    • Java
    • C
    • C++
    • JavaScript
    • CSS
    • Competitive Programming
    • Machine Learning
    • Aptitude
    • Web Development
    • Puzzles
    • Projects
    Related Articles
    • Write an Interview Experience
    • Write an Admission Experience
    • Interview Preparation
      • Interview Preparation For Software Developers
      • Must Coding Questions - Company-wise
      • Must Do Coding Questions - Topic-wise
      • Company-wise Practice Problems
      • Company Preparation
      • Competitive Programming
      • Software Design-Patterns
      • Company-wise Interview Experience
      • Experienced - Interview Experiences
      • Internship - Interview Experiences
      Practice @Geeksforgeeks
      • Problem of the Day
      • Topic-wise Practice
      • Difficulty Level - School
      • Difficulty Level - Basic
      • Difficulty Level - Easy
      • Difficulty Level - Medium
      • Difficulty Level - Hard
      • Leaderboard !!
      • Explore More...
      Data Structures
      • Arrays
      • Linked List
      • Stack
      • Queue
      • Binary Tree
      • Binary Search Tree
      • Heap
      • Hashing
      • Graph
      • Advance Data Structures
      • Matrix
      • String
      • All Data Structures
      Algorithms
      • Analysis of Algorithms
      • Searching Algorithms
      • Sorting Algorithms
      • Pattern Searching
      • Geometric Algorithms
      • Mathematical Algorithms
      • Randomized Algorithms
      • Greedy Algorithms
      • Dynamic Programming
      • Divide & Conquer
      • Backtracking
      • Branch & Bound
      • All Algorithms
      Programming Languages
      • C
      • C++
      • Java
      • Python
      • C#
      • Go Lang
      • SQL
      • PHP
      • Scala
      • Perl
      • Kotlin
      Web Technologies
      • HTML
      • CSS
      • JavaScript
      • jQuery
      • PHP
      • Bootstrap
      • AngularJS
      • ReactJS
      • NodeJS
      • p5.js
      • Lodash.js
      • jQwidget
      • jQuery-UI
      • Wordpress
      • Tailwind CSS
      • JSON
      • jQuery Mobile
      • Collect.js
      • Pure CSS
      • Bulma
      • Foundation
      • Materialize CSS
      • Semantic-UI
      • TypeScript
      • SVG
      • Express.js
      • Ant Design
      • React Design
      • Tensorflow.js
      Computer Science Subjects
      • Operating Systems
      • DBMS
      • Computer Network
      • Computer Organization & Architecture
      • TOC
      • Compiler Design
      • Digital Elec. & Logic Design
      • Software Engineering
      • Engineering Mathematics
      Data Science & ML
      • Complete Data Science Course
      • Data Science Tutorial
      • Machine Learning Tutorial
      • Deep Learning Tutorial
      • NLP Tutorial
      • Machine Learning Projects
      • Data Analysis Tutorial
      Tutorial Library
      • Python Tutorial
      • Django Tutorial
      • Pandas Tutorial
      • Kivy Tutorial
      • Tkinter Tutorial
      • OpenCV Tutorial
      • Selenium Tutorial
      GATE CS
      • GATE CS Notes
      • Gate Corner
      • Previous Year GATE Papers
      • Last Minute Notes (LMNs)
      • Important Topic For GATE CS
      • GATE Course
      • Previous Year Paper: CS exams
      DevOps
      • Git Tutorial
      • AWS Tutorial
      • Docker Tutorial
      • Kubernetes Tutorial
      • Microsoft Azure Tutorial
      QUIZ Section
      • C Quiz
      • C++ Quiz
      • Java Quiz
      • Python Quiz
      • HTML Quiz
      • CSS Quiz
      • JavaScript Quiz
      • Data Structures Quiz
      • Algorithms Quiz
      • Topic-wise MCQs
      School Content
      • CBSE Board
      • CBSE Notes 2023-24
      • CBSE Class 8 Notes
      • CBSE Class 9 Notes
      • CBSE Class 10 Notes
      • CBSE Class 11 Notes
      • CBSE Class 12 Notes
      • School Programming
      • English Grammar

    Quiz on Data Structures

    • Last Updated : 10 May, 2023

  • Read
  • Discuss(260)
  • Courses
  • Practice
  • Quizzes on Data Structures

    • Linked List(17)
    • Stack(11)
    • Queue(13)
    • Binary Trees(19)
    • Binary Search Trees(17)
    • Balanced Binary Search Trees(14)
    • Graph(10)
    • Hash(8)
    • Array(4)
    • Misc(15)
    • B and B+ Trees(11)
    • Heap(16)
    • Tree Traversals(17)

    Please do Like/Share if you find the above useful. Also, please do leave us comment for further clarification or info. We would love to help and learn 🙂

    My Personal Notes arrow_drop_up
    Related Articles
    1. Data Structures
    2. Learn Data Structures and Algorithms | DSA Tutorial
    3. GATE Quiz
    4. LMNs-Data Structure
    5. NTT Data Recruitment Process
    6. Python | Pandas Working With Text Data
    7. Numpy | Data Type Objects
    8. Stack Data Structure
    9. Queue Data Structure
    10. String Data Structure
    Courses
    course-img
    914k+ interested Geeks

    Data Structures and Algorithms - Self Paced

    course-img
    135k+ interested Geeks

    Data Structures & Algorithms in Python - Self Paced

    course-img
    105k+ interested Geeks

    Complete Machine Learning & Data Science Program

    Improve your Coding Skills with Practice

    geeksforgeeks-footer-logo
    A-143, 9th Floor, Sovereign Corporate Tower, Sector-136, Noida, Uttar Pradesh - 201305
    feedback@geeksforgeeks.org
    • Company
    • About Us
    • Careers
    • In Media
    • Contact Us
    • Terms and Conditions
    • Privacy Policy
    • Copyright Policy
    • Third-Party Copyright Notices
    • Advertise with us
    • Explore
    • Job Fair For Students
    • POTD: Revamped
    • Python Backend LIVE
    • Android App Development
    • DevOps LIVE
    • DSA in JavaScript
    • Languages
    • Python
    • Java
    • C++
    • PHP
    • GoLang
    • SQL
    • R Language
    • Android Tutorial
    • Data Structures
    • Array
    • String
    • Linked List
    • Stack
    • Queue
    • Tree
    • Graph
    • Algorithms
    • Sorting
    • Searching
    • Greedy
    • Dynamic Programming
    • Pattern Searching
    • Recursion
    • Backtracking
    • Web Development
    • HTML
    • CSS
    • JavaScript
    • Bootstrap
    • ReactJS
    • AngularJS
    • NodeJS
    • Computer Science
    • GATE CS Notes
    • Operating Systems
    • Computer Network
    • Database Management System
    • Software Engineering
    • Digital Logic Design
    • Engineering Maths
    • Python
    • Python Programming Examples
    • Django Tutorial
    • Python Projects
    • Python Tkinter
    • OpenCV Python Tutorial
    • Python Interview Question
    • Data Science & ML
    • Data Science With Python
    • Data Science For Beginner
    • Machine Learning Tutorial
    • Maths For Machine Learning
    • Pandas Tutorial
    • NumPy Tutorial
    • NLP Tutorial
    • Deep Learning Tutorial
    • DevOps
    • Git
    • AWS
    • Docker
    • Kubernetes
    • Azure
    • GCP
    • Competitive Programming
    • Top DSA for CP
    • Top 50 Tree Problems
    • Top 50 Graph Problems
    • Top 50 Array Problems
    • Top 50 String Problems
    • Top 50 DP Problems
    • Top 15 Websites for CP
    • System Design
    • What is System Design
    • Monolithic and Distributed SD
    • Scalability in SD
    • Databases in SD
    • High Level Design or HLD
    • Low Level Design or LLD
    • Top SD Interview Questions
    • Interview Corner
    • Company Preparation
    • Preparation for SDE
    • Company Interview Corner
    • Experienced Interview
    • Internship Interview
    • Competitive Programming
    • Aptitude
    • GfG School
    • CBSE Notes for Class 8
    • CBSE Notes for Class 9
    • CBSE Notes for Class 10
    • CBSE Notes for Class 11
    • CBSE Notes for Class 12
    • English Grammar
    • Commerce
    • Accountancy
    • Business Studies
    • Microeconomics
    • Macroeconomics
    • Statistics for Economics
    • Indian Economic Development
    • UPSC
    • Polity Notes
    • Geography Notes
    • History Notes
    • Science and Technology Notes
    • Economics Notes
    • Important Topics in Ethics
    • UPSC Previous Year Papers
    • SSC/ BANKING
    • SSC CGL Syllabus
    • SBI PO Syllabus
    • SBI Clerk Syllabus
    • IBPS PO Syllabus
    • IBPS Clerk Syllabus
    • Aptitude Questions
    • SSC CGL Practice Papers
    • Write & Earn
    • Write an Article
    • Improve an Article
    • Pick Topics to Write
    • Write Interview Experience
    • Internships
    • Video Internship
    @geeksforgeeks , Some 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