Linked List:

Singly Linked List:

Circular Linked List:

Doubly Linked List:

All Articles of Linked List
Quiz on Linked List


Quiz on Stack
All Articles on Stack


Quiz on Queue
All Articles on Queue

Binary Tree:

Quiz on Binary Tree
Quiz on Binary Tree Traversals
All articles on Binary Tree

Binary Search Tree:

Quiz on Binary Search Trees
Quiz on Balanced Binary Search Trees
All Articles on Binary Search Tree


All Articles on Heap
Quiz on Heap


Quiz on Hashing
All Articles on Hashing


Introduction, DFS and BFS:

All Articles on Graph Data Structure

Quiz on Graph

Quiz on Graph Traversals

Quiz on Graph Shortest Paths

Quiz on Graph Minimum Spanning Tree

Advanced Data Structure:

Advanced Lists:


Suffix Array and Suffix Tree:

AVL Tree:

Splay Tree:

B Tree:

Segment Tree:

Red-Black Tree:

K Dimensional Tree:



All Articles on Array

Coding Practice on Array

Quiz on Array


All Articles on Matrix


You can create a new Data Structure topic and discuss it with other geeks using Geeksforgeeks Q&A page. See already discussed Data Structure questions on forum.

Company Wise Coding Practice    Topic Wise Coding Practice

  • ranjith


  • kalyan

    this is fantastic!

  • Guest


  • oggy

    awesome effort !! much better than the boring lectures of professors..!!

  • zhiming

    This is really the only site we programmers need !!!!

  • amd

    life turning site…………

  • arvind m

    i luved the site guys!!!!!

  • Guest

    Please correct the link of queue prob “maximum of all subarrays of size k”..

    • GeeksforGeeks

      Thanks for pointing this out. We have updated the code.

  • Guest

    awesome stuff

  • Muddy Rwambo

    How things my fellow students
    I’m a student at almaktoum college of engineering and
    Technology, provide the following courses Electronic, Electrical
    and I.T my course is I.T my education level is diploma first year

    Our teacher teach us a data structure he want to write a program
    By using c++ to implement stack which will insert, delete data so how can I do.

    • shushank sharma

      What you can do is only study and work little hard to complete your home work,

      If you have any problem in then ask here, but no one is going to done your homework

  • aishlnch

    thats all what i needed…thanks a lot guys great work!!!

  • prakashyaji

    Great work!!! Thanks!

  • Ankit Kumar

    Great Work!!!! Keep it up.

  • Sony Kumari

    thanku so much guys for the awesome wrk

    • AY


  • shashibhushan k

    thank u very much and congratz for ur contributions…….

  • Aditya Pn

    Awesome work guys :)