www.geeksforgeeks.org Open in urlscan Pro
2600:9000:2491:a200:16:97f7:5900:93a1  Public Scan

Submitted URL: http://geeksforgeeks.org/
Effective URL: https://www.geeksforgeeks.org/
Submission: On April 29 via manual from IN — Scanned from DE

Form analysis 1 forms found in the DOM

<form id="gcse-form" class="gcse-form_class p-relative" data-sm="false">
  <span class="front-search-icon"><i class="gfg-icon gfg-icon_search gfg-icon_white gcse-search__icon gcse-search-icon_grey"></i> </span>
  <input class="gcse-search-input__wrapper" id="gcse-search-input" aria-expanded="false" placeholder="Search..." autocomplete="off">
  <i class="gfg-icon gfg-icon_times gfg-icon_white hide-search"></i>
  <button aria-label="search" type="submit" class="gcse-search__btn not-expanded">
    <i class="gfg-icon gfg-icon_search gfg-icon_white gcse-search__icon"></i>
  </button>
</form>

Text Content

Skip to content

 * Tutorials
   * Python Tutorial
     * Taking Input in Python
     * Python Operators
     * Python Data Types
       * Python Numbers
       * Python String
       * Python Lists
       * Python Tuples
       * Sets in Python
       * Python Dictionary
     * Python Loops and Control Flow
       * Python If Else
       * Python For Loops
       * Python While Loops
       * Python Breaks
       * Python Continue Statement
       * Python Pass Statement
     * Python Functions
     * Python OOPS Concept
     * Python Data Structures
       * Python DSA
       * Linked List
       * Stack
       * Queue
       * Tree
       * Heap
       * Hashing
       * Graph
       * Sets
       * Map
       * Advance Data Structure
       * Sorting Algorithms
       * Searching Algorithms
     * Python Exception Handling
     * Python File Handling
     * Python Exercises
       * Python List Exercise
       * Python String Exercise
       * Python Tuple Exercise
       * Python Dictionary Exercise
       * Python Set Exercise
       * Python Design Patterns
       * Python Programming Examples
       * Python Practice Questions
   * Java
     * Java Programming Language
       * Java Tutorial
       * Data Types
       * Variables
       * Operators
         * Operators in Java
         * Arithmetic Operators
         * Unary Operators
         * Assignment Operators
         * Relational Operators
         * Logical Operators
         * Ternary Operators
       * Flow Control in Java
         * Flow Control
         * if Statement
         * if-else Statement
         * if-else-if Ladder
         * Continue Statement
         * Break Statement
         * Return Statement
       * Loops in Java
         * Loops
         * do-while Loop
         * For Loop
         * For-each Loop
       * Methods
       * Strings
       * Arrays
       * OOPs Concepts
         * OOPs Concepts
         * Classes and Objects
         * Access Modifiers
         * Inheritance
         * Abstraction
         * Encapsulation
         * Polymorphism
       * Interface
       * Packages
       * Multithreading
       * File Handling
       * Regular Expression
     * Java Collections
       * Java Collections
       * Collection Class
       * List Interface
       * ArrayList
       * Vector Class
       * Stack Class
       * LinkedList Class
       * Queue Interface
       * Set Interface
       * HashSet Class
       * TreeSet
       * Map Interface
       * HashMap Class
       * HashTable Class
       * Iterator
       * Comparator
       * Collection Interview Questions
     * Java 8 Tutorial
     * Java Programs
       * Java Programming Examples
       * Java Array Programs
       * Java String Programs
       * Java Date-Time Programs
       * Java File Handling Programs
       * Java Collection Programs
       * Java JDBC Programs
       * Java Apache POI Programs
       * Java OpenCV Programs
     * Java Interview Questions
       * Java Interview Questions
       * Core Java Interview Questions-Freshers
       * Java Multithreading Interview Questions
       * OOPs Interview Questions and Answers
     * Java Exercises
     * Java Quiz
       * Java Quiz
       * Core Java MCQ
     * Java Projects
     * Advance Java
       * Spring Tutorial
       * Spring Boot Tutorial
       * Spring Boot Interview Questions
       * Spring MVC Tutorial
       * Spring MVC Interview Questions
       * Hibernate Tutorial
       * Hibernate Interview Questions
   * Programming Languages
     * C
     * C++
     * JavaScript
     * PHP
     * R Tutorial
     * C#
     * SQL
     * Scala
     * Perl
     * Go Language
     * Kotlin
   * 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
   * Computer Science Subjects
     * Mathematics
     * Operating System
     * DBMS
     * Computer Networks
     * Computer Organization and Architecture
     * Theory of Computation
     * Compiler Design
     * Digital Logic
     * Software Engineering
   * DevOps
     * GIT
     * AWS
     * Docker
     * Kubernetes
     * Microsoft Azure Tutorial
     * Google Cloud Platform
   * 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
   * Software Testing
     * Software Testing Tutorial
       * Software Testing Tutorial
       * What is Software Testing
       * Principles of Software Testing
       * Types of Software Testing
       * Levels of Software Testing
       * Automation Testing
       * Manual Testing
     * Testing Tools
       * Software Testing Tools
       * Defect Testing Tools
       * Cross-Browser Testing Tools
       * Integration Testing Tool
       * Unit Testing Tools
       * Mobile Testing Tools
       * GUI Testing Tool
       * Security Testing Tools
       * Penetration Testing Tools
     * Selenium
       * Selenium Tutorial
       * Selenium Basics
       * Selenium Python
     * Jira
       * Jira Tutorial
       * JIRA Installation
       * JIRA Login
       * JIRA Dashboard
     * Software Engineering
       * Software Engineering Tutorial
       * Software Development Life Cycle (SDLC)
       * Software Characteristics
       * Software Quality
       * Waterfall Model
       * Iterative Waterfall Model
       * Spiral Model
       * Prototyping Model
       * Incremental Process Model
     * Interview Questions
       * Software Testing Interview Questions
       * Automation Testing Interview Questions
       * Manual Testing Interview Questions
       * Software Engineering Interview Questions
       * Penetration Testing Interview Questions
       * API Testing Interview Questions
     * Postman
       * Postman Tutorial
       * Postman for API Development
       * Download and Install Postman
       * API Testing Using Postman
       * Generate HTML Report for Postman
   * Databases
     * DBMS Tutorial
     * SQL Tutorial
     * PostgreSQL Tutorial
     * MongoDB Tutorial
     * SQL Interview Questions
     * MySQL Interview Questions
     * PL/SQL Interview Questions
   * Android
     * Android Tutorial
     * Android Studio Tutorial
     * Kotlin For Android
     * Android Projects
     * Android Interview Questions
     * 6 Weeks of Android App Development
   * Excel
     * MS Excel Tutorial
     * Introduction to MS Excel
     * Data Analysis in Excel
     * Basic Excel Formulas & Functions
     * Data Analysis in Advanced Excel
     * Workbooks
     * Statistical Functions
     * Data Visualization in Excel
     * Pivot Tables in Excel
     * Excel Spreadsheets in Python
     * Basic Excel Shortcuts
   * Mathematics
     * Number System
     * Algebra
     * Linear Algebra
     * Trigonometry
     * Set Theory
     * Statistics
     * Probability
     * Geometry
     * Mensuration
     * Logarithms
     * Calculus
   * Commerce
     * Business Studies
     * Accountancy
     * Microeconomics
     * Statistics for Economics
     * Macroeconomics
     * Human Resource Management (HRM)
     * Management
     * Income Tax
     * Finance
     * Commerce Complete Guide
   * SEO-Search Engine Optimization
     * What is SEO
     * Search Engine Optimization Basics
     * Types of SEO
     * Keyword Optimization in SEO
     * Backlinks in SEO
     * SEO Blogs
     * Mobile SEO
     * SEO Complete Reference
   * Aptitude
     * Aptitude Question and Answers
     * Quantitative Aptitude
     * Logical Reasoning
     * Verbal Ability
 * DSA
   * 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
   * DSA Tutorial
   * 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
       * Top 50 Array Problems
       * Top 50 String Problems
       * Top 50 DP Problems
       * Top 50 Graph Problems
       * Top 50 Tree Problems
   * Competitive Programming
   * Company Wise SDE Sheets
     * Facebook SDE Sheet
     * Amazon SDE Sheet
     * Apple SDE Sheet
     * Netflix SDE Sheet
     * Google SDE Sheet
   * DSA Cheat Sheets
     * SDE Sheet
     * DSA Sheet for Beginners
     * FAANG Coding Sheet
     * Product-Based Coding Sheet
     * Company-Wise Preparation Sheet
   * Top Interview Questions
     * Top 100 DSA Interview Questions Topic-wise
   * Puzzles
     * All Puzzles
     * Top 100 Puzzles Asked In Interviews
     * Top 20 Puzzles Commonly Asked During SDE Interviews
 * Data Science
   * Python Tutorial
   * R Tutorial
   * Machine Learning
   * Data Science using Python
   * Data Science using R
   * Data Science Packages
     * Pandas Tutorial
     * NumPy Tutorial
   * Data Visualization
     * Python Data Visualization Tutorial
     * Data Visualization with R
   * Data Analysis
     * Data Analysis with Python
     * Data Analysis with R
   * Deep Learning
   * NLP Tutorial
 * Web Tech
   * HTML Tutorial
   * CSS Tutorial
   * JavaScript Tutorial
   * PHP Tutorial
   * ReactJS Tutorial
   * NodeJS Tutorial
   * AngularJS Tutorial
   * Bootstrap Tutorial
   * 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 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
     * Postman
     * Github
   * JSON Tutorial
   * TypeScript Tutorial
   * Wordpress Tutorial
   * Web Design
   * Web Browsers
     * Google Chrome
     * Mozilla Firefox
     * Apple Safari
     * Microsoft Edge
     * Tor
   * Cheat Sheets
     * HTML Cheat Sheet
     * CSS Cheat Sheet
     * JavaScript Cheat Sheet
     * React Cheat Sheet
     * Angular Cheat Sheet
     * jQuery Cheat Sheet
     * Bootstrap Cheat Sheet
   * JavaScript Projects
   * Learn Complete Web Development
   * File Formats
 * Courses
   * Coding for Everyone
   * DSA to Development
   * Machine Learning and Data Science
   * DSA Courses
     * Data Structure & Algorithm(C++/JAVA)
     * Data Structure & Algorithm(Python)
     * Data Structure & Algorithm(JavaScript)
   * Programming Languages
     * CPP
     * Java
     * Python
     * JavaScript
     * C

 * 
 * 
   Switch to Dark Mode
 * 
 * Sign In

 * Trending Now
 * Data Structures
 * Algorithms
 * System Design
 * Foundational Courses
 * Data Science
 * Practice Problem
 * Python
 * Machine Learning
 * Data Science Using Python
 * Django
 * DevOps
 * JavaScript
 * Java
 * C
 * C++
 * ReactJS
 * NodeJS
 * Web Development
 * Web Design
 * Web Browser
 * CP Live
 * Aptitude
 * Puzzles
 * Projects
 * DSA
 * Design Patterns
 * Software Development
 * SEO
 * Product Management
 * SAP
 * Programming

▲
Hello, What Do You Want To Learn?
Search
DSA
Python
Machine Learning
JavaScript
Interview Preparation
Full Stack Live Classes
Applied Data Science
DSA: Basic To Advanced Course
10 Best Alternatives to Z Library 2024
With digital accessibility being ve­ry prevalent, websites like Z Library have­
changed how we read...

Explore Practice Problems
Solve DSA Problems. Filter based on topic tags and company tags. Get curated
problem lists by GFG ex...

DSA Self Paced
Most popular course on DSA trusted by over 75,000 students! Built with years of
experience by indus...



DSA

View All
Array


Analysis of Algo


Linked List


Searching Algo


Stack


Sorting Algo


Queue


Graph Algo





WEB DEVELOPMENT

View All
JavaScript


ReactJs


NodeJS


Angular


Django


NextJS


ExpressJS


Tailwind CSS





MACHINE LEARNING & DATA SCIENCE

View All
Machine Learning


Data Science with Python


Data Analysis


Deep Learning


Natural Language Processing


ML Maths


ML Projects


ML Interview Questions





TUTORIALS

View All
Python


Java


C++


SQL


GIT


DevOps


Android


System Design



Courses
View All
5
DSA to Development: A Complete Guide
Beginner to Advance
233k+ interested Geeks
Explore now

4.7
Full Stack Development with React & Node JS - Live
Beginner to Advance
232k+ interested Geeks
Explore now

4.9
Tech Interview 101 - From DSA to System Design for Work...
Beginner to Advance
277k+ interested Geeks
Explore now

4.7
Complete Guide to Software Testing and Automation: Mast...
Beginner to Advance
23k+ interested Geeks
Explore now

4.7
Master Java Programming - Complete Beginner to Advanced
Beginner to Advance
195k+ interested Geeks
Explore now

4.7
Master C++ Programming - Complete Beginner to Advanced
Beginner to Advance
174k+ interested Geeks
Explore now

Videos
View All
16:07
27th Apr - Merge Sort on Doubly Linked L...
28/04/2024
16:42
26th Apr - Exit Point in a Matrix
27/04/2024
07:52
25th Apr - Maximum sum of hour glass
27/04/2024
18:48
Detect cycle in an undirected graph | DS...
26/04/2024
07:00
Binary Tree to DLL | DSA Problem
26/04/2024
11:06
BFS of graph | DSA Problem
26/04/2024
Problem of the day
Remove every kth node
Solve one problem based on Data Structures and Algorithms every day and win
exciting prizes.
12
23
51
   Hours
   Minutes
  Seconds
Solve Now


A-143, 9th Floor, Sovereign Corporate Tower, Sector-136, Noida, Uttar Pradesh -
201305


 * Company
 * About Us
 * Legal
 * Careers
 * In Media
 * Contact Us
 * Advertise with us
 * GFG Corporate Solution
 * Placement Training Program

 * Explore
 * Hack-A-Thons
 * GfG Weekly Contest
 * DSA in JAVA/C++
 * Master System Design
 * Master CP
 * GeeksforGeeks Videos
 * Geeks Community

 * 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 Tutorial
 * ML Maths
 * Data Visualisation Tutorial
 * Pandas Tutorial
 * NumPy Tutorial
 * NLP Tutorial
 * Deep Learning Tutorial

 * HTML & CSS
 * HTML
 * CSS
 * Web Templates
 * CSS Frameworks
 * Bootstrap
 * Tailwind CSS
 * SASS
 * LESS
 * Web Design
 * Django Tutorial

 * Python Tutorial
 * Python Programming Examples
 * Python Projects
 * Python Tkinter
 * Web Scraping
 * OpenCV Tutorial
 * Python Interview Question

 * Computer Science
 * Operating Systems
 * Computer Network
 * Database Management System
 * Software Engineering
 * Digital Logic Design
 * Engineering Maths

 * DevOps
 * Git
 * AWS
 * Docker
 * Kubernetes
 * Azure
 * GCP
 * DevOps Roadmap

 * Competitive Programming
 * Top DS or Algo for CP
 * Top 50 Tree
 * Top 50 Graph
 * Top 50 Array
 * Top 50 String
 * Top 50 DP
 * Top 15 Websites for CP

 * System Design
 * High Level Design
 * Low Level Design
 * UML Diagrams
 * Interview Guide
 * Design Patterns
 * OOAD
 * System Design Bootcamp
 * Interview Questions

 * JavaScript
 * JavaScript Examples
 * TypeScript
 * ReactJS
 * NextJS
 * AngularJS
 * NodeJS
 * Lodash
 * Web Browser

 * Preparation Corner
 * Company-Wise Recruitment Process
 * Resume Templates
 * Aptitude Preparation
 * Puzzles
 * Company-Wise Preparation

 * School Subjects
 * Mathematics
 * Physics
 * Chemistry
 * Biology
 * Social Science
 * English Grammar
 * World GK

 * Management & Finance
 * Management
 * HR Management
 * Finance
 * Income Tax
 * Organisational Behaviour
 * Marketing

 * Free Online Tools
 * Typing Test
 * Image Editor
 * Code Formatters
 * Code Converters
 * Currency Converter
 * Random Number Generator
 * Random Password Generator

 * More Tutorials
 * Software Development
 * Software Testing
 * Product Management
 * SAP
 * SEO - Search Engine Optimization
 * Linux
 * Excel

 * GeeksforGeeks Videos
 * DSA
 * Python
 * Java
 * C++
 * 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 Got It !