www.geeksforgeeks.org
Open in
urlscan Pro
2a02:26f0:dc::6853:5b0
Public Scan
Submitted URL: http://www.geeksforgeeks.org/
Effective URL: https://www.geeksforgeeks.org/
Submission: On February 01 via manual from IN — Scanned from DE
Effective URL: https://www.geeksforgeeks.org/
Submission: On February 01 via manual from IN — Scanned from DE
Form analysis
1 forms found in the DOM<form id="gcse-form" data-sm="false" class="p-relative"><input class="gcse-search-input__wrapper" id="gcse-search-input" aria-expanded="false">
<i class="gfg-icon gfg-icon_times gfg-icon_white hide-search"></i>
<button 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 * Courses * For Working Professionals * DevOps(Live) * Data Structure & Algorithm Classes (Live) * System Design (Live) * Java Backend Developer (Live) * Full Stack Development with React & Node JS (Live) * Complete Data Science Program * Data Structure & Algorithm-Self Paced(C++/JAVA) * Data Structures & Algorithms in Python * Explore More Live Courses * For Students * Competitive Programming (Live) * Interview Preparation Course * Data Structure & Algorithm-Self Paced(C++/JAVA) * Data Structures & Algorithms in Python * Data Science (Live) * Full Stack Development with React & Node JS (Live) * GATE CS 2023 Test Series * OS DBMS CN for SDE Interview Preparation * Explore More Self-Paced Courses * Programming Languages * C++ Programming - Beginner to Advanced * Java Programming - Beginner to Advanced * C Programming - Beginner to Advanced * Python Foundation * JavaScript Foundation * Web Development * Full Stack Development with React & Node JS(Live) * Java Backend Development(Live) * React JS (Basic to Advanced) * JavaScript Foundation * Machine Learning and Data Science * Complete Data Science Program(Live) * Mastering Data Analytics * School Courses * CBSE Class 12 Computer Science * School Guide * All Courses * Tutorials * DSA * Data Structures * Arrays * Linked List * Stack * Queue * Binary Tree * Binary Search Tree * Heap * Hashing * Graph * Advanced Data Structure * Matrix * Strings * All Data Structures * Algorithms * 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 * Sorting Algorithms * Graph Algorithms * Pattern Searching * Geometric Algorithms * Mathematical * Bitwise Algorithms * Randomized Algorithms * Greedy Algorithms * Dynamic Programming * Divide and Conquer * Backtracking * Branch and Bound * All Algorithms * Interview Corner * Company Preparation * Top Topics * Practice Company Questions * Interview Experiences * Experienced Interviews * Internship Interviews * Competitive Programming * Design Patterns * System Design Tutorial * Multiple Choice Quizzes * 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 * School Programming * Mathematics * Number System * Algebra * Trigonometry * Statistics * Probability * Geometry * Mensuration * Calculus * Maths Notes (Class 8-12) * Class 8 Notes * Class 9 Notes * Class 10 Notes * Class 11 Notes * Class 12 Notes * 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-11) * Class 8 Notes * Class 9 Notes * Class 10 Notes * Class 11 Notes * Chemistry Notes * Class 8 Notes * Class 9 Notes * Class 10 Notes * Business Studies (Class 11th) * Business Studies (Class 12th) * Accountancy (Class 12th) * Statistics for Economics (Class 11th) * ML & Data Science * Machine Learning * Data Science * CS Subjects * Mathematics * Operating System * DBMS * Computer Networks * Computer Organization and Architecture * Theory of Computation * Compiler Design * Digital Logic * Software Engineering * GATE * GATE 2023 Test Series * 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 * Software Designs * Software Design Patterns * System Design Tutorial * 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 * CS Exams/PSUs * 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 * 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 * UPSC * Geography Notes * History Notes * Science & Tech. Notes * Ethics Notes * Polity Notes * Economics Notes * UPSC Previous Year Papers * 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 * IBPS Clerk * IBPS Clerk Syllabus * English Notes * Previous Year Papers * Jobs * Apply for a Job * Apply through Jobathon * Post a Job * Hire through Jobathon * 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 * * * Sign In * Sign In * Home * Saved Videos * Courses * * For Working Professionals * DevOps(Live) * Data Structure & Algorithm Classes (Live) * System Design (Live) * Java Backend Developer (Live) * Full Stack Development with React & Node JS (Live) * Complete Data Science Program * Data Structure & Algorithm-Self Paced(C++/JAVA) * Data Structures & Algorithms in Python * Explore More Live Courses * For Students * Competitive Programming (Live) * Interview Preparation Course * Data Structure & Algorithm-Self Paced(C++/JAVA) * Data Structures & Algorithms in Python * Data Science (Live) * Full Stack Development with React & Node JS (Live) * GATE CS 2023 Test Series * OS DBMS CN for SDE Interview Preparation * Explore More Self-Paced Courses * Programming Languages * C++ Programming - Beginner to Advanced * Java Programming - Beginner to Advanced * C Programming - Beginner to Advanced * Python Foundation * JavaScript Foundation * Web Development * Full Stack Development with React & Node JS(Live) * Java Backend Development(Live) * React JS (Basic to Advanced) * JavaScript Foundation * Machine Learning and Data Science * Complete Data Science Program(Live) * Mastering Data Analytics * School Courses * CBSE Class 12 Computer Science * School Guide * Data Structures * Arrays * Linked List * Stack * Queue * Binary Tree * Binary Search Tree * Heap * Hashing * Graph * Advanced Data Structure * Matrix * Strings * All Data Structures * Algorithms * Searching Algorithms * Sorting Algorithms * Graph Algorithms * Pattern Searching * Geometric Algorithms * Mathematical * Bitwise Algorithms * Randomized Algorithms * Greedy Algorithms * Dynamic Programming * Divide and Conquer * Backtracking * Branch and Bound * All Algorithms * 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 * Interview Corner * Company Preparation * Top Topics * Practice Company Questions * Interview Experiences * Experienced Interviews * Internship Interviews * Competitive Programming * Design Patterns * System Design Tutorial * Multiple Choice Quizzes * Languages * C * C++ * Java * Python * JavaScript * PHP * C# * SQL * Scala * Perl * Go Language * Kotlin * Web Development * HTML * CSS * JavaScript * PHP * WordPress * JSON * 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 * School Learning * School Programming * Business Studies (Class 11th) * Business Studies (Class 12th) * Accountancy (Class 12th) * Statistics for Economics (Class 11th) * Mathematics * Number System * Algebra * Trigonometry * Statistics * Probability * Geometry * Mensuration * Calculus * Maths Notes (Class 8-12) * Class 8 Notes * Class 9 Notes * Class 10 Notes * Class 11 Notes * Class 12 Notes * 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-11) * Class 8 Notes * Class 9 Notes * Class 10 Notes * Class 11 Notes * Chemistry Notes * Class 8 Notes * Class 9 Notes * Class 10 Notes * ML & Data Science * Machine Learning * Data Science * CS Subjects * Mathematics * Operating System * DBMS * Computer Networks * Computer Organization and Architecture * Theory of Computation * Compiler Design * Digital Logic * Software Engineering * GATE * GATE 2023 Test Series * 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 * Software Designs * Software Design Patterns * System Design Tutorial * 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 * CS Exams/PSUs * 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 * 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 * UPSC * Geography Notes * History Notes * Science & Tech. Notes * Ethics Notes * Polity Notes * Economics Notes * UPSC Previous Year Papers * 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 * IBPS Clerk * IBPS Clerk Syllabus * English Notes * Previous Year Papers * Curated DSA Lists * Top 50 Array Problems * Top 50 String Problems * Top 50 Tree Problems * Top 50 Graph Problems * Top 50 DP Problems * Tutorials * DSA * Jobs * Apply for a Job * Apply through Jobathon * Post a Job * Hire through Jobathon * Practice * All DSA Problems * Problem of the Day * GFG SDE Sheet * Contests * GFG Weekly Coding Contest * Job-A-Thon: Hiring Challenge * BiWizard School Contest * All Contests and Events * GBlog * Puzzles * What's New ? Change Language * Data Structures and Algorithms * Interview Preparation * Data Science * Topic-wise Practice * C * C++ * Java * Python * Latest Blogs * Competitive Programming * JavaScript * Machine Learning * Write & Earn * Web Development * Puzzles * Projects ▲ Hello, What Do You Want To Learn? Search Master Data Science & ML DSA- Live Classes System Design- Live Classes For You Spring Boot - Start/Stop a Kafka Listener Dynamically When your spring boot application starts, Kafka Listener's default behavior is to begin listening fo... Explore Practice Problems Solve DSA Problems. Filter based on topic tags and company tags. Get curated problem lists by GFG ex... Interview Preparation An interview-centric course designed to prepare you for the role of SDE for both product and service... GBlog 100 Days of Code - A Complete Guide For Beginners and Experienced Do you want to become a successful software developer and dreaming about getting into the big tech companies?Are you someone who is already working as a developer but look... Data Structures View All Array Linked List Stack Queue Algorithms View All Analysis of Algo Searching Algo Sorting Algo Graph Algo Courses View All 62k+ interested Geeks 5 JAVA Backend Development - Live Intermediate and Advance 122k+ interested Geeks 4.9 DSA Live for Working Professionals - Live Intermediate and Advance 90k+ interested Geeks 4.9 Master C++ Programming - Complete Beginner to Advanced Beginner to Advance 104k+ interested Geeks Master Java Programming - Complete Beginner to Advanced Beginner to Advance 2k+ interested Geeks DevOps - Live Beginner to Advance 65k+ interested Geeks 5 System Design - Live Intermediate and Advance Problem of the day Distinct Coloring Solve one problem based on Data Structures and Algorithms every day and win exciting prizes. 14 20 55 Hours Minutes Seconds Solve Now Videos View All 04:55 Top 5 Crazy AI Tools that will Blow Your Mind 30/01/2023 01:37 How Cache Memory Works 27/01/2023 01:02 5 Things to Never Say in an Interview 26/01/2023 Articles All Python Java C++ C# C Language Algorithms Interview Experience Sorting Linked List Tree Graph School Programming Why should we use Proxy Server ? What is a Proxy server?Every time you access the internet you are assigned an IP address. Your IP address can reveal a fair bit of information about you, including your lo...Read more GBlog Best Practices For REST API Testing REST, or Representational State Transfer, is a type of software architecture that is commonly used for building web services and APIs. A REST API is an application program...Read more GBlog Picked Software Testing Feynman Technique - How to Use It to Learn Faster? In today's fast-paced and competitive world, learning new things quickly and efficiently has become the need of the hour. So, whether you are a student preparing for exams...Read more GBlog JavaScript var JavaScript var is a keyword used to declare variables in JavaScript that are function scoped. Before the introduction of ES6 all the keywords in JavaScript were declared w...Read more Web Technologies JavaScript javascript-basics How to create a rainbow disc using p5.js ? In this article, we are going to see how we can create a rainbow disc using p5.js. p5.js is a JavaScript library that makes it easy to create interactive graphics, and it ...Read more Web Technologies JavaScript JavaScript-p5.js Architecture of a System Architecture is a critical aspect of designing a system, as it sets the foundation for how the system will function and be built. It is the process of making high-level de...Read more Picked System Design Count ways to select two N sized Substrings differing by one letter Given a string str, the task is to find the number of ways two non-overlapping substrings of length N can be selected out of a string that differs by just one letter.Examp...Read more Strings DSA How to access state in a function outside of the class ? In the context of a function defined outside of a class, state refers to the data associated with an instance of the class being passed as an argument to the function. The...Read more Technical Scripter Web Technologies JavaScript JavaScript-Questions Technical Scripter 2022 CBSE Class 12 Economics Solved Question Paper 2020 - Set 5 (58/5/2) Economics (Code No. 58/5/2)Time allowed : 3 hoursMaximum Marks: 80General Instructions:Read the following instructions very carefully and strictly follow them :(i) This qu...Read more Picked Class 12 Macroeconomics Indian Economic Development Capace Software Private Limited interview experience for Software Developer Trainee (On-Campus) Round 1: Group Discussion: Those students who got their resumes shortlisted got an online zoom meeting link from a recruiter. Students were divided into 8 groups and in ea...Read more Interview Experiences On-Campus Capace Accenture Interview Experience My most recent interview was for a software engineer position at Accenture, and it was not too long ago that I went there for the interview. The interview was conducted on...Read more Interview Experiences Accenture Mastercard Interview Experience for SDE Internship (On-Campus) CODING ROUND (1 HR):2 QUESTIONS2D ARRAY PROBLEMTREESINTERVIEW:ROUND 1 (TR) (45 MINS) :IntroductionDSA Questions: Stack Using Queue TreesOOPs: 4 Types and ExplanationsRoun...Read more Interview Experiences Internship On-Campus MasterCard Avaya Interview Experience for Techanical Specialist (Off-Campus) 2023 First Round - Aptitude and technical MCQ based questions.Second Round - About to speak anything which you think on given topic from board.Third Round - Technical And Manag...Read more Interview Experiences Avaya Off-Campus Minimize operations to reduce Array by replacing pair with their sum Given an array X[] of length N. In each operation, the following task is performed:Decrement any value by 1.Replace any pair with their sum and the cost of replacing is th...Read more Arrays Greedy Technical Scripter Technical Scripter 2022 DSA Difference between Induced Investment and Autonomous Investment What is Induced Investment?The investment which depends upon the profit expectations and has a direct influence of income level on it is known as Induced Investment. Induc...Read more Class 12 Macroeconomics What is View in AngularJS ? In AngularJS, the View is what the user can see on the webpage. In an application (as per the user’s choice), the chosen view is displayed. For this purpose, the ng-view d...Read more Technical Scripter Web Technologies Picked AngularJS AngularJS-Questions Technical Scripter 2022 How to use transition effects in the page ? In this article, we will see how to use the transition effect on the page using jQuery, along with knowing the 2 different methods for implementing the transition effect o...Read more Technical Scripter Web Technologies Picked JQuery jQuery-Questions Technical Scripter 2022 How to make own Linktree using HTML, CSS and JavaScript ? Linktree is a tool that permits you to share multiple hyperlinks of various social media into one site. It gained popularity on Instagram, as Instagram does not allow you ...Read more Technical Scripter Web Technologies JavaScript HTML CSS JavaScript-Questions Technical Scripter 2022 * < Prev * 1 * 2 * 3 * 4 * 5 * ••• * 9118 * Next > * 15 / page IMPROVE YOUR CODING SKILLS WITH PRACTICE Try It! A-143, 9th Floor, Sovereign Corporate Tower, Sector-136, Noida, Uttar Pradesh - 201305 feedback@geeksforgeeks.org * Company * About Us * Careers * In Media * Contact Us * Privacy Policy * Copyright Policy * Advertise with us * Learn * DSA * Algorithms * Data Structures * SDE Cheat Sheet * Machine learning * CS Subjects * Video Tutorials * Courses * News * Top News * Technology * Work & Career * Business * Finance * Lifestyle * Knowledge * Languages * Python * Java * CPP * Golang * C# * SQL * Kotlin * Web Development * Web Tutorials * Django Tutorial * HTML * JavaScript * Bootstrap * ReactJS * NodeJS * Contribute * 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 Got It ! START YOUR CODING JOURNEY NOW! Login Register