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
Singly Linked List
Doubly Linked List
Circular Linked List
Doubly Circular Linked List
Linked List Tutorial
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
Design and Analysis of Algorithms
Asymptotic Analysis
Asymptotic Notations
Worst, Average and Best Cases
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
100 Days of Code
Top Interview Questions
Top 100 DSA Interview Questions Topic-wise
Top 50 Array Problems
Top 50 String Problems
Top 50 Stack Problems
Top 50 Heap Problems
Top 50 Linked List Problems
Top 50 Tree Problems
Top 50 Graph Problems
Top 50 Problems on Recursion Algorithms
Top 20 Interview Questions on Greedy Algorithms
Top 20 Interview Questions on Dynamic Programming
Top 50 Problems on Dynamic Programming (DP)
Top 20 Interview Questions on Hashing
Interview Questions on Top 10 Algorithms
Commonly Asked Data Structure Interview Questions
DSA Blogs
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Top MCQs on Puzzles with Answers
Crossword Puzzle Of The Week
Python
Python Tutorial
Python Exercises
Python List Exercise
Python String Exercise
Python Tuple Exercise
Python Dictionary Exercise
Python Set Exercise
Python Quiz
Python Programs
Advanced Python Tutorial
Python GUI
Python Tkinter Tutorial
Kivy Tutorial
Python Turtle Tutorial
PyGame Tutorial
Python API Tutorial
Python Database
Python Database Tutorial
Python SQLite
Python MongoDB Tutorial
Python JSON
Python Automation
Python Automation
Python Web Scraping
Python Requests Tutorial
Selenium Python
Python Cheat Sheet
Python Projects
Python Interview Questions
ML & Data Science
Machine Learning
Machine Learning Tutorial
Maths for ML
Machine Learning with Python
Machine Learning with R
ML Projects
100 Days of Machine Learning
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Data Visualization with Python
Python Data Visualization Tutorial
Matplotlib Tutorial
Bokeh Tutorial
Plotly Tutorial
Seaborn Tutorial
Data Visualization with R
Data Visualization with R
Plotly Tutorial
ggplot Tutorial
Data Visualization Tools
Tableau
Power BI
Data Analysis
Data Analysis with Python
Data Analysis with R
100 Days of Data Analytics
Deep Learning
Deep Learning Tutorial
Deep Learning Projects
NLP Tutorial
OpenCV Tutorial
Interview Questions
Machine Learning Interview Question
Deep Learning Interview Question
Python Interview Questions
Top 50 R Interview Questions
ML Frameworks
Tensorflow
PyTorch
PyTorch Lightning
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
System Design Roadmap
Top 10 System Design Interview Questions and Answers
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
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
CSS Preprocessors
SASS
LESS
JavaScript
JavaScript Tutorial
JavaScript Programs
JavaScript Questions
JavaScript Cheat Sheet
DSA using JavaScript
Free JavaScript Course
JavaScript A to Z Complete Guide
ReactJS
ReactJS Tutorial
Free ReactJS Course
ReactJS Frameworks
NextJS
React Material UI
React Bootstrap
React Suite
Ant Design
ReactJS Reactstrap
BlueprintJS
Node.js
Node.js Tutorial
Express.js
PHP
PHP Tutorial
PHP Programming Examples
AngularJS
AngularJS Tutorial
AngularJS Cheat Sheet
AngularJS Frameworks
Angular PrimeNG
Angular ngx Bootstrap
jQuery
jQuery Tutorial
jQuery Cheat Sheet
jQuery Frameworks
jQuery UI
jQuery Mobile
jQwidget
TypeScript
Web Development Using Python
Django
Getting started with Django
Create an App in Django
Views In Django
Django Templates
Django URL patterns
Django Admin Interface
Django Models
MySQL Databased with Django
Django CRUD
Django Forms
Django Static File
Projects for Beginners
Django Interview Questions
Django Tutorial
Flask
Web Development Using Flask
Flask App Routing
URL building in Flask
Flask Templates
Templating With Jinja2 in Flask
Flask Model
Database with Flask SQL Alchemy
Authentication with Flask
WTForms in Flask
Static files in Flask
Python Flask Projects
Flask Interview Questions
Frontend Projects
Building a Survey Form using HTML and CSS
Food delivery system using HTML and CSS
ToDo webapp using Django
Building Blog CMS
Add Pagination in Django
Tailwind CSS with Django
Django with Reactjs
Selenium
Postman
Github
JSON
CSS Frameworks & Libraries
Bootstrap
Bootstrap Tutorial
Bootstrap 5
Bootstrap Cheat Sheet
Tailwind CSS
Bulma
Pure CSS
Materialize CSS
Foundation
Semantic UI
Primer CSS
Spectre CSS
JS Other Frameworks & Libraries
Lodash
D3.js
Vue.js
Underscore.js
TensorFlow.js
Collect.js
Fabric.js
p5.js
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
Interview Questions
Docker Interview Questions
AWS Interview Questions
Jenkins Interview Questions
Ansible Interview Question
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
25 Basic Linux Commands
File Mangement in Linux
File Permission Commands
chmod Command
chown Command
chgrp Command
unmask Command
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Firewall
Linux Interview Questions
School Learning
Mathematics (Class 8-12)
Number System
Algebra
Linear Algebra
Trigonometry
Set Theory
Statistics
Probability
Geometry
Mensuration
Logarithms
Calculus
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
Math Calculators
Maths Solutions(Class 8-12)
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
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-12)
Class 8
Class 9
Class 10
Class 11
Class 12
Science Notes(Class 8-10)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Social Science Notes(Class 7-10)
SS Notes (Class 7-10)
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
History Class 10
CBSE Geography Notes (Class 7-10)
Geo. Class 7
Geo. Class 8
Geo. Class 9
Geo. Class 10
CBSE Civics Notes (Class 7-10)
Civics Class 7
Civics Class 8
Civics Class 9
Civics Class 10
Social Science Syllabus (Class 7-10)
Class 7 SS Syllabus
Class 8 SS Syllabus
Class 9 SS Syllabus
Class 10 SS Syllabus
English Grammar
CBSE Syllabus(Class 8-12)
Class 8 Syllabus
Class 9 Syllabus
Class 10 Syllabus
Class 11 Syllabus
Class 12 Syllabus
CBSE Previous Year Papers
Maths
Physics
History
Georgraphy
Political Science
Economics
School Programming
IIT JEE
JEE Main 2024
JEE Main Exam Pattern
JEE Main Exam Date
JEE Main Syllabus 2024
JEE Maths Syllabus
JEE Physics Syllabus
JEE Chemistry Syllabus
JEE Complete Syllabus
JEE Main Admin Card
JEE Advanced 2024
JEE Advanced Syllabus 2024
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 CS/IT Test Series 2024
GATE Computer Science Notes
Last Minute Notes
GATE CS Solved Papers
GATE CS Original Papers and Official Keys
GATE CS 2024 Syllabus
GATE 2024 Important Dates
GATE Data Science and AI 2024
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
UPSC and SSC/Banking
Banking Exams Study Material
RRB Clerk 2023 Exam
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 Clerk
IBPS Clerk Syllabus
English Notes
Previous Year Papers
IBPS PO
IBPS PO 2022 Syllabus
English Notes
Reasoning Notes
Previous Year Papers
Mock Question Papers
General Awareness
UPSC Study Material
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
SSC CGL Study Material
SSC CGL Syllabus
General Studies
English
Reasoning
Subjectwise Practice Papers
Previous Year Papers
GeeksforGeeks Videos
Data Structures
Arrays
Strings
Linked List
Stack
Queue
Tree
SDE Sheet
Python
Java
C++
Data Science
Computer Science Subjects
Jobs
Get Hired: Apply for Jobs
Corporate Hiring Solutions
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 Hiring Challenge
Get Internship via GfG Weekly
All Contests and Events
Home
Saved Videos
Courses
Data Structures and Algorithms
DSA Tutorial
Data Structures Tutorial
Algorithms Tutorial
Top 100 DSA Interview Questions
DSA-Roadmap[Basic-to-Advanced]
ML & Data Science
Learn Python
Data Science Tutorial
Machine Learning Tutorial
Deep Learning Tutorial
NLP Tutorial
Computer Vision Tutorial
Web Development
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
ReactJS Tutorial
NodeJS Tutorial
Languages
C
C++
Java
R Tutorial
Golang
Interview Corner
Company Interview Corner
Experienced Interviews
Internship Experiences
Practice Company Questions
Competitive Programming
CS Subjects
Operating Systems
DBMS
Computer Networks
Software Engineering
Software Testing
Jobs
Get Hired: Apply for Jobs
Job-a-thon: Hiring Challenge
Corporate Hiring Solutions
Practice
All DSA Problems
Problem of the Day
GFG SDE Sheet
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
World Cup Hack-A-Thon
GFG Weekly Coding Contest
Job-A-Thon: Hiring Challenge
BiWizard School Contest
All Contests and Events
GBlog
Puzzles
What's New ?
Change Language
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
Web Design
Web Browser
CP Live
Aptitude
Puzzles
Projects
▲
Similar Topics
DSA
21.7k+ articles
Mathematical
7.7k+ articles
C++
3.6k+ articles
C Language
1.7k+ articles
School Programming
1.3k+ articles
Java-Collections
1.1k+ articles
STL
1k+ articles
number-theory
400+ articles
Quick Sort
66 articles
C-Input and Output Quiz
25 articles
GFacts
73 posts
Popular Articles
Recent Articles
Can C++ reference member be declared without being initialized with declaration?
Last Updated: 26 April 2021
To many readers, this might sound the same thing, i.e.class_type *var = NULL;*var = some_work;is same asclass_type *var = some_work;But in a
...read more
GFacts
Technical Scripter
cpp-references
C++
Technical Scripter 2018
GFact | Collatz Sequence
Last Updated: 17 October 2023
Starting with any positive integer N, we define the Collatz sequence corresponding to N as the numbers formed by the following operations:N
...read more
GFacts
Dynamic Programming
Mathematical
DSA
GFact | Cayley's formula for Number of Labelled Trees
Last Updated: 17 October 2023
Consider below questions. How many spanning trees can be there in a complete graph with n vertices? How many labelled Trees (please note tr
...read more
GFacts
Similar Topics
DSA
21.7k+ articles
Mathematical
7.7k+ articles
C++
3.6k+ articles
C Language
1.7k+ articles
School Programming
1.3k+ articles
Java-Collections
1.1k+ articles
STL
1k+ articles
number-theory
400+ articles
Quick Sort
66+ articles
C-Input and Output Quiz
25+ articles
G-Fact 19 (Logical and Bitwise Not Operators on Boolean)
Last Updated: 28 November 2023
Most of the languages including C, C++, Java, and Python provide a boolean type that can be either set to False or True. In this article, we
...read more
GFacts
Python
GFact | Finding nth Fibonacci Number using Golden Ratio
Last Updated: 17 October 2023
We have discussed different methods to find nth Fibonacci Number. Following is another mathematically correct way to find the same.nth Fibo
...read more
GFacts
Fibonacci
fseek() vs rewind() in C
Last Updated: 28 June 2023
fseek() and rewind() both functions are used to file positioning defined in stdio.h header file. In this article, we will discuss the differ
...read more
GFacts
secure-coding
C Language
C-File Handling
GFact | What is an atomic operation?
Last Updated: 17 October 2023
Atomic OperationWhat is an atomic operation? An idea of atomic operation helps in understanding reentrancy, critical section, thread safety,
...read more
GFacts
GFact | Meaning of this equation (L = (n-1)*I + 1) in n-ary Tree
Last Updated: 17 October 2023
Following relationship holds in any n-ary tree in which every node has either 0 or n children.L = (n-1)*I + 1 Where L is the number of leaf
...read more
GFacts
What is evaluation order of function parameters in C?
Last Updated: 28 May 2017
It is compiler dependent in C. It is never safe to depend on the order of evaluation of side effects. For example, a function call like belo
...read more
GFacts
C Language
C-Functions
How are variables scoped in C - Static or Dynamic?
Last Updated: 12 April 2023
In C, variables are always statically (or lexically) scoped i.e., binding of a variable can be determined by program text and is independent
...read more
GFacts
C Language
C-Variable Declaration and Scope
What are the Operators that Can be and Cannot be Overloaded in C++?
Last Updated: 27 May 2022
There are various ways to overload Operators in C++ by implementing any of the following types of functions:1) Member Function2) Non-Member
...read more
GFacts
C Language
C++
School Programming
What is return type of getchar(), fgetc() and getc() ?
Last Updated: 28 May 2017
In C, return type of getchar(), fgetc() and getc() is int (not char). So it is recommended to assign the returned values of these functions
...read more
GFacts
C Language
C-Input and Output Quiz
Return values of printf() and scanf() in C/C++
Last Updated: 29 November 2020
What values do the printf() and scanf() functions return ?printf() : It returns total number of Characters Printed, Or negative value if an
...read more
GFacts
cpp-input-output
C Language
C-Input and Output Quiz
Operands for sizeof operator
Last Updated: 04 May 2020
The sizeof operator is used to return the size of its operand, in bytes. This operator always precedes its operand. The operand either may b
...read more
GFacts
C Language
C++
C-Operators
What all is inherited from parent class in C++?
Last Updated: 05 September 2023
Following are the things that a derived class inherits from its parent:All the public and protected data members and member functions of the
...read more
GFacts
cpp-inheritance
C Language
C++
School Programming
1
2
3
4
5
>>
Last
1
2
3
4
5
>>
Last
1
2
3
4
>>
Last
Trending in News
View More
How to Access GPT-4 Turbo for Free on Microsoft CoPilot
Microsoft Makes Powerful GPT-4 Turbo Free for All Copilot Users
10 Best Tailwind Alternatives in 2024
250+ Funny, Cool and Professional Work Team Names To Consider
30 OOPs Interview Questions and Answers (2024)
24k+ interested Geeks
Coding for Everyone
Explore
206k+ interested Geeks
DSA to Development: A Complete Guide
Explore
234k+ interested Geeks
Complete Machine Learning & Data Science Program
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 !