• Tutorials keyboard_arrow_down
    • Algorithms keyboard_arrow_right
      • Analysis of Algorithms keyboard_arrow_right
        • 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
      • Randomized Algorithms
      • Greedy Algorithms
      • Dynamic Programming
      • Divide and Conquer
      • Backtracking
      • Branch and Bound
      • All Algorithms
    • Data Structures keyboard_arrow_right
      • Arrays
      • Linked List
      • Stack
      • Queue
      • Binary Tree
      • Binary Search Tree
      • Heap
      • Hashing
      • Graph
      • Advanced Data Structure
      • Matrix
      • Strings
      • All Data Structures
    • Languages keyboard_arrow_right
      • C
      • C++
      • Java
      • Python
      • C#
      • Javascript
      • jQuery
      • SQL
      • PHP
      • Scala
      • Perl
      • Go Language
      • HTML
      • CSS
      • Kotlin
    • Interview Corner keyboard_arrow_right
      • Company Preparation
      • Top Topics
      • Practice Company Questions
      • Interview Experiences
      • Experienced Interviews
      • Internship Interviews
      • Competititve Programming
      • Design Patterns
      • Multiple Choice Quizzes
    • GATE keyboard_arrow_right
      • GATE CS Notes 2021
      • Last Minute Notes
      • GATE CS Solved Papers
      • GATE CS Original Papers and Official Keys
      • GATE 2021 Dates
      • GATE CS 2021 Syllabus
      • Important Topics for GATE CS
      • Sudo GATE 2021
    • ISRO CS keyboard_arrow_right
      • ISRO CS Solved Papers
      • ISRO CS Original Papers and Official Keys
      • ISRO CS Syllabus for Scientist/Engineer Exam
    • UGC NET CS keyboard_arrow_right
      • UGC NET CS Notes Paper II
      • UGC NET CS Notes Paper III
      • UGC NET CS Solved Papers
    • CS Subjects keyboard_arrow_right
      • Mathematics
      • Operating System
      • DBMS
      • Computer Networks
      • Computer Organization and Architecture
      • Theory of Computation
      • Compiler Design
      • Digital Logic
      • Software Engineering
    • Web Technologies keyboard_arrow_right
      • HTML
      • CSS
      • Javascript
      • jQuery
      • PHP
  • Student keyboard_arrow_down
    • Campus Ambassador Program
    • Project
    • Geek of the Month
    • Campus Geek of the Month
    • Placement Course
    • Competititve Programming
    • Testimonials
    • Geek on the Top
    • Careers
    • Internship
  • Courses
  • Jobs keyboard_arrow_down
    • Apply for Jobs
    • Post a Job
  • search close
  • Home
  • Courses
  • GBlog
  • Puzzles
  • What's New ?
    Write an Articleexpand_more
    • Write Articles
    • Write Interview Experience
    • Guidelines to Write
    • Get Technical Writing Internship
  • C
  • C++
  • Java
  • Python
  • Machine Learning
  • Interview Preparationexpand_more
    • Interview Preparation For Software Developers
    • Must Coding Questions - Company-wise
    • Must Do Coding Questions - Topic-wise
    • Company-wise Practice Problems
    • Company Preparation
    • Competitive Programming
    • Software Design-Patterns
    • Company-wise Interview Experience
    • Experienced - Interview Experiences
    • Intership - Interview Experiences
    Practice @Geeksforgeeksexpand_more
    • Leaderboard !!
    • Topic-wise Practice
    • Subjective Problems
    • Difficulty Level - School
    • Difficulty Level - Basic
    • Difficulty Level - Easy
    • Difficulty Level - Medium
    • Difficulty Level - Hard
    • Explore More...
    Algorithmsexpand_more
    • Analysis of Algorithms
    • Searching Algorithms
    • Sorting Algorithms
    • Pattern Searching
    • Geometric Algorithms
    • Mathematical Algorithms
    • Randomized Algorithms
    • Greedy Algorithms
    • Dynamic Programming
    • Divide & Conquer
    • Backtracking
    • Branch & Bound
    • All Algorithms
    Data Structuresexpand_more
    • Arrays
    • Linked List
    • Stack
    • Queue
    • Binary Tree
    • Binary Search Tree
    • Heap
    • Hashing
    • Graph
    • Advance Data Structures
    • Matrix
    • String
    • All Data Structures
    Programming Languagesexpand_more
    • C
    • C++
    • Java
    • Python
    • C#
    • Go Lang
    • SQL
    • PHP
    • Scala
    • Perl
    • Kotlin
    Web Technologiesexpand_more
    • HTML
    • CSS
    • Bootstrap
    • JavaScript
    • Jquery
    • ReactJS
    • NodeJS
    • AngularJS
    • Django Framework
    Tutorial Libraryexpand_more
    • Python Tutorial
    • Django Tutorial
    • Pandas Tutorial
    • Kivy Tutorial
    • Tkinter Tutorial
    • OpenCV Tutorial
    • Selenium Tutorial
    Computer Science Subjectsexpand_more
    • Engineering Mathematics
    • Operating Systems
    • DBMS
    • Computer Network
    • Computer Organization & Architecture
    • TOC
    • Compiler Design
    • Digital Elec. & Logic Design
    • Software Engineering
    GATE 2021expand_more
    • GATE CS Notes
    • Gate Corner
    • Previous Year GATE Papers
    • Last Minute Notes (LMNs)
    • Important Topic - GATE 2021
    • GATE 2021 Course
    UGC NET / ISROexpand_more
    • UGC NET Notes - Paper II
    • UGC NET Notes - Paper III
    • UGC NET Solved Papers
    • ISRO CS Solved Papers
    • ISRO Official Keys
    • ISRO CSE Syllabus
    QUIZ Sectionexpand_more
    • C Quiz
    • C++ Quiz
    • Java Quiz
    • Python Quiz
    • Data Structures Quiz
    • Algorithms Quiz
    • Aptitude Quiz
    • Topic-wise MCQs
  • Puzzles
  • Geeksforgeeks Initiativesexpand_more
    • Campus Ambassador Program
    • Geek Of The Month
    • Geek On The TOP
    • Campus Geek Of The Month
    • Technical Scripter Event
    • Computer Science Projects
Featured Article

Bridge the Gap Between Engineering and Your Dream Job – Complete Interview Preparation

Last Updated: 28-10-2020
2

In India, lakhs of students enroll themselves in engineering colleges every year to establish a successful career in the engineering discipline. And why not, as… Read More »

Advanced Computer Subject
GFG-Update
Featured Article

Must Do Coding Questions for Companies like Amazon, Microsoft, Adobe, …

Last Updated: 12-10-2020
3.4

As the placement season is back so are we to help you ace the interview. We have selected some most commonly asked and must do… Read More »

Articles
interview-preparation
placement preparation
Featured Article

Technical Scripter Event 2020 By GeeksforGeeks

Last Updated: 30-10-2020

Everyone knows that the tech enthusiasts hold a strong passion for reading articles – whether it be about their specific domain, cutting-edge technologies, source codes… Read More »

GBlog
GFG-Update
Technical Scripter 2020

Load Balancer – System Design Interview Question

Last Updated: 31-10-2020

A lot of people use different web services in their day to day life and they get a quick response from these services as well.… Read More »

GBlog
System-Design

Top 7 Books For Android App Development

Last Updated: 29-10-2020

Do you have an interest in Android app development but don’t know where to begin?   What can be better than to start with man’s… Read More »

Android
GBlog
android

Minimum number of operations required to return to the main folder

Last Updated: 31-10-2020

Given an array of strings arr[] representing the change folder operations(Unix-style) performed on the file system. Initially, the file system opens in the main folder.… Read More »

Arrays
Stack
Strings
cpp-stack
interview-preparation

Count distinct strings possible by replacing each character by its Morse code

Last Updated: 31-10-2020

Given an array of strings arr[], the task is to count the number of distinct strings that can be generated from the given array by… Read More »

Strings
cpp-set
frequency-counting

Program to format a number with thousands separator in C/C++

Last Updated: 31-10-2020

Given an integer N, the task is to print output of the given integer in international place value format and put commas at the appropriate… Read More »

Mathematical
School Programming
Strings

Building Blog CMS (Content Management System) with Django

Last Updated: 31-10-2020

Django is a python based web application framework which is helpful for building a variety of web application. Django also includes an extensible Django-Admin interface,… Read More »

Python
Technical Scripter

Largest subtree sum for each vertex of given N-ary Tree

Last Updated: 30-10-2020
3

Given an N-array tree of N nodes, rooted at 1, with edges in the form {u, v}, and an array values[] consisting of N integers.… Read More »

Arrays
Dynamic Programming
Tree
DFS
n-ary-tree

Generate original permutation from given array of inversions

Last Updated: 30-10-2020
5

Given an array arr[] of size N, where arr[i] denotes the number of elements on the left that are greater than the ith element in… Read More »

Advanced Data Structure
Arrays
Technical Scripter
Tree
permutation
Permutation and Combination
Segment-Tree
Technical Scripter 2020

Variance and Standard Deviation – Probability | Class 11 Maths

Last Updated: 31-10-2020

Standard deviation and variance are the two most commonly used measures of spread in sets of values. The standard deviation (σ) of a set of… Read More »

Class 11
School Learning
School Mathematics
Probability

Generate Linked List consisting of maximum difference of squares of pairs of nodes from given Linked List

Last Updated: 30-10-2020

Given a Linked List of even number of nodes, the task is to generate a new Linked List such that it contains maximum difference of… Read More »

Linked List
Mathematical
Queue
Sorting
deque
Linked Lists

Mean of distinct odd fibonacci nodes in a Linked List

Last Updated: 30-10-2020

Given a singly linked list containing N nodes, the task is to find the mean of all the distinct nodes from the list whose data… Read More »

Hash
Linked List
Mathematical
cpp-set
Fibonacci
maths-mean

Count sequences of positive integers having product X

Last Updated: 30-10-2020

Given an array arr[] of size N, the task is to find the total number of sequences of positive integers possible (greater than 1) whose… Read More »

Arrays
Combinatorial
Dynamic Programming
Mathematical
permutation
Permutation and Combination
Sequence and Series

Reduce array to a single element by repeatedly replacing adjacent unequal pairs with their maximum

Last Updated: 30-10-2020

Given an array arr[] consisting of N integers, the task is to reduce the given array to a single element by repeatedly replacing any pair… Read More »

Arrays
Greedy
Mathematical
Sorting
array-rearrange

Queries to count groups of N students possible having sum of ratings within given range

Last Updated: 30-10-2020

Given integers N and K representing the number of batches and number of students in each batch respectively, and a 2D array ratings[][] of size… Read More »

Arrays
Dynamic Programming
Recursion
prefix-sum

Count pairs from two arrays with difference exceeding K

Last Updated: 30-10-2020

Given two integer arrays arr[] and brr[] consisting of distinct elements of size N and M respectively and an integer K, the task is to… Read More »

Arrays
Mathematical
Sorting
Page 1 of 5,21212345...102030...»Last »
auto
Most Popular Articles
  • Must Do Coding Questions for Companies like Amazon, Microsoft, Adobe, ...
  • Must Do Coding Questions Company-wise
  • Top 10 Programming Languages to Learn in 2020 - Demand, Jobs, Career Growth
  • Longest subsequence with different adjacent characters
  • How to set input type date in dd-mm-yyyy format using HTML ?

Most Visited Articles
  • Difference between DFA and NFA
  • Difference between DELETE, DROP and TRUNCATE
  • Python Tkinter Tutorial
  • Sorting a Map by value in C++ STL
  • How to find index of a given element in a Vector in C++

✍
Write a Testimonial
GeeksforGeeks
room 5th Floor, A-118,
Sector-136, Noida, Uttar Pradesh - 201305
email [email protected]
  • Company
  • About Us
  • Careers
  • Privacy Policy
  • Contact Us
  • Learn
  • Algorithms
  • Data Structures
  • Languages
  • CS Subjects
  • Video Tutorials
  • Practice
  • Courses
  • Company-wise
  • Topic-wise
  • How to begin?
  • Contribute
  • Write an Article
  • Write Interview Experience
  • Internships
  • Videos
@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