Skip to content
Courses
DSA to Development
Coding for Everyone
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Software Testing & Automation (Live)
Data Structures & Algorithms in Python
For Students
Interview Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
GATE Exam Courses
GATE CS & IT
GATE DA & AI
GATE Classroom Course (NCR)
For School Students
CBSE Class 12 Computer Science
School Guide
Python Programming Foundation
All Courses
Tutorials
Data Structures & Algorithms
DSA for Beginners
Data Structures
Arrays
Matrix
Strings
Linked List
Stack
Queue
Tree
Generic Tree
Binary Tree
Binary Search Tree
AVL Tree
B Tree
B+ Tree
Red Black Tree
Tree Data Structure Tutorial
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
Complete DSA Tutorial
Competitive Programming
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 Cheat Sheets
DSA Sheet for Beginners
SDE Sheets
FAANG Coding Sheet
Love Babbaar Sheet
Mass Recruiter Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top 100 DSA Interview Questions Topic-wise
100 Days of Code
Python
Python Tutorial
Python Exercises
Python List Exercise
Python String Exercise
Python Tuple Exercise
Python Dictionary Exercise
Python Set Exercise
Python Excercises Top wise
Python Quiz
Python Programs
Advanced Python Tutorial
Python API Tutorial
Python Database Tutorial
Python JSON
Python Cheat Sheet
Python Projects
Python Interview Questions
ML & Data Science
Machine Learning
Machine Learning Tutorial
Maths for ML
ML Projects
100 Days of Machine Learning
Data Science Tutorial
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Data Visualization with Python
Data Visualization with R
Tableau
Power BI
Data Analysis
Data Analysis with Python
Data Analysis with R
100 Days of Data Analytics
Deep Learning
NLP Tutorial
OpenCV Tutorial
Interview Questions
Machine Learning Interview Questions
Deep Learning Interview Questions
R Interview Questions
System Design
System Design Tutorial
Software Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Puzzles for Interviews
Languages
C
C++
Java
Python
R Tutorial
C#
SQL
Scala
Perl
Go Language
Web Development
HTML
HTML Tutorial
Free HTML Course
HTML Cheat Sheet
CSS
CSS Tutorial
Free CSS Course
CSS Cheat Sheet
JavaScript
JavaScript Tutorial
JavaScript Questions
JavaScript Cheat Sheet
DSA using JavaScript
Free JavaScript Course
JavaScript A to Z Complete Guide
TypeScript
ReactJS
ReactJS Tutorial
Free ReactJS Course
ReactJS Cheat Sheet
NextJS
Node.js
PHP
PHP Tutorial
Free PHP Course
PHP Programming Examples
AngularJS
jQuery
jQuery Tutorial
jQuery Cheat Sheet
Web Development Using Python
Django
Flask
Selenium
Postman
Github
Web Design
100 Days of Web Development
CS Subjects
Engineering Mathematics
Operating System
DBMS
Computer Networks
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
DevOps Tutorial
GIT
AWS
Kubernetes
Docker
Microsoft Azure Tutorial
Google Cloud Platform
DevOps Roadmap
DevOps Interview Questions
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
File Permissions in Linux
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Interview Questions
School Learning
Class 8 Study Material
Class 9 Study Material
Class 10 Study Material
Class 11Study Material
Class 12 Study Material
English Grammar
GfG School
Commerce
Business Studies
Class 11th Notes
Class 12th Notes
Business Studies Complete Guide
Accountancy
Class 11th Notes
Class 12th Notes
Accountancy Complete Guide
Microeconomics
Class 11th Notes
Microeconomics Complete Guide
Statistics for Economics
Class 11th Notes
Statistics for Economics Complete Guide
Macroeconomics
Class 12th notes
Macroeconomics Complete Guide
Indian Economic Development
Class 12th Notes
Indian Economic Development Complete Guide
Human Resource Management (HRM)
Management
Income Tax
Finance
Commerce Complete Guide
GATE
GATE Computer Science Notes
Last Minute Notes
GATE CS Solved Papers
GATE CS Original Papers and Official Keys
GATE CS 2025 Syllabus
GATE DA 2025 Syllabus
Other CS Exams
ISRO
UGC NET
UPSC and SSC/Banking
UPSC Study Material
Banking Exams Study Material
SBI Clerk
SBI PO
IBPS Clerk
IBPS PO
SSC CGL Study Material
GeeksforGeeks Videos
Jobs
Get Hired: Apply for Jobs
Corporate Hiring Solutions
Latest Job Updates
Practice
All DSA Problems
Problem of the Day
Company Wise Coding Practice
Amazon
Microsoft
Flipkart
Explore All
GfG SDE Sheet
Practice Problems Difficulty Wise
School
Basic
Easy
Medium
Hard
Language Wise Coding Practice
CPP
Java
Python
Curated DSA Lists
Beginner's DSA Sheet
Love Babbar Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Contests
Job-A-Thon: Matrix Partners India
Job-A-Thon Hiring Challenge
Get Internship via GfG Weekly
TOEFL India Championship
All Contests and Events
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
▲
Similar Topics
DSA
21.8k+ articles
GATE CS
1.5k+ articles
MCQ
100+ articles
GATE-CS-2004
95 articles
GATE-CS-2003
95 articles
GATE-CS-2006
94 articles
GATE-CS-2008
94 articles
GATE-CS-2007
93 articles
GATE-CS-2010
72 articles
GATE-CS-2014
5 articles
GATE-CS-DS-&-Algo
39 posts
Popular Articles
Recent Articles
Data Structures and Algorithms | Set 31
Last Updated: 13 December 2022
Following questions have been asked in GATE CS 2013 exam.1) What is the return value of f(p, p) if the value of p is initialized to 5 before
...read more
MCQ
GATE-CS-DS-&-Algo
GATE-CS-2013
GATE CS
Data Structures and Algorithms | Set 30
Last Updated: 13 December 2022
Following questions have been asked in GATE CS 2013 exam.1) Which of the following statements is/are TRUE for an undirected graph?P: Number
...read more
MCQ
GATE-CS-DS-&-Algo
GATE-CS-2013
GATE CS
Data Structures and Algorithms | Set 25
Last Updated: 13 December 2022
Following questions have been asked in GATE 2010 exam.1 Consider a complete undirected graph with vertex set {0, 1, 2, 3, 4}. Entry Wij in t
...read more
MCQ
GATE-CS-DS-&-Algo
GATE-CS-2010
GATE CS
Similar Topics
DSA
21.8k+ articles
GATE CS
1.5k+ articles
MCQ
100+ articles
GATE-CS-2004
95+ articles
GATE-CS-2003
95+ articles
GATE-CS-2006
94+ articles
GATE-CS-2008
94+ articles
GATE-CS-2007
93+ articles
GATE-CS-2010
72+ articles
GATE-CS-2014
5+ articles
Data Structures and Algorithms | Set 24
Last Updated: 13 December 2022
Following questions have been asked in GATE CS 2010 exam. 1. The following C function takes a simply-linked list as input argument. It modif
...read more
MCQ
GATE-CS-DS-&-Algo
GATE-CS-2010
GATE CS
Data Structures and Algorithms | Set 23
Last Updated: 13 December 2022
Following questions have been asked in GATE CS 2005 exam. 1. Which one of the following is a key factor for preferring B-trees to binary sea
...read more
MCQ
GATE-CS-2005
GATE-CS-DS-&-Algo
GATE CS
Data Structures and Algorithms | Set 22
Last Updated: 13 December 2022
Following questions have been asked in GATE CS 2005 exam. 1) A program P reads in 500 integers in the range [0..100] representing the score
...read more
MCQ
GATE-CS-2005
GATE-CS-DS-&-Algo
GATE CS
Data Structures and Algorithms | Set 21
Last Updated: 13 December 2022
Following questions have been asked in GATE CS 2008 exam. 1. The subset-sum problem is defined as follows. Given a set of n positive integer
...read more
MCQ
GATE-CS-2008
GATE-CS-DS-&-Algo
GATE CS
Data Structures and Algorithms | Set 16
Last Updated: 27 March 2017
Following questions have been asked in GATE CS 2009 exam.1. Consider a binary max-heap implemented using an array. Which one of the followin
...read more
MCQ
GATE-CS-DS-&-Algo
GATE-CS-2009
GATE CS
Data Structures and Algorithms | Set 13
Last Updated: 05 July 2018
Following questions have been asked in GATE CS 2002 exam 1. The number of leaf nodes in a rooted tree of n nodes, with each node having 0 or
...read more
MCQ
GATE-CS-2002
GATE-CS-DS-&-Algo
GATE CS
Data Structures and Algorithms | Set 11
Last Updated: 13 December 2022
Following questions have been asked in GATE CS 2007 exam.1. Consider a hash table of size seven, with starting index zero, and a hash functi
...read more
MCQ
GATE-CS-DS-&-Algo
GATE-CS-2007
GATE CS
Data Structures and Algorithms | Set 10
Last Updated: 13 December 2022
Following questions have been asked in GATE CS 2007 exam. 1. The height of a binary tree is the maximum number of edges in any root to leaf
...read more
MCQ
GATE-CS-DS-&-Algo
GATE-CS-2007
GATE CS
Data Structures and Algorithms | Set 9
Last Updated: 13 December 2022
Follow questions have been asked in GATE CS exam. 1 In a heap with n elements with the smallest element at the root, the 7th smallest eleme
...read more
MCQ
GATE-CS-2003
GATE-CS-DS-&-Algo
GATE CS
Data Structures and Algorithms | Set 5
Last Updated: 27 March 2017
Following questions have been asked in GATE CS exam.1. Consider the following C function. [sourcecode language="c"]float f(float x, int y) {
...read more
MCQ
GATE-CS-2004
GATE-CS-DS-&-Algo
GATE CS
Data Structures and Algorithms | Set 2
Last Updated: 12 April 2019
Following questions have been asked in GATE CS exam.1. Consider the function f defined below. [sourcecode language="c"]struct item { int d
...read more
MCQ
GATE-CS-2003
GATE-CS-2004
GATE-CS-DS-&-Algo
GATE CS
Data Structures and Algorithms | Set 1
Last Updated: 11 September 2023
Following questions have been asked in GATE CS exam1. Let LASTPOST, LASTIN and LASTPRE denote the last vertex visited in a postorder, inorde
...read more
MCQ
GATE-CS-DS-&-Algo
GATE CS
1
2
3
>>
Last
1
2
3
>>
Last
1
2
3
>>
Last
1171k+ interested Geeks
Data Structures and Algorithms - Self Paced
Explore
253k+ interested Geeks
Data Structures & Algorithms in Python - Self Paced
Explore
34k+ interested Geeks
GATE Data Science and Artificial Intelligence 2025
Explore
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
Got It !