Wayback Machine
Mar APR May
10
2019 2020 2021
success
fail
About this capture
COLLECTED BY
Collection: GDELT Project
TIMESTAMPS
loading
The Wayback Machine - https://web.archive.org/web/20200410201036/https://www.geeksforgeeks.org/
GeeksforGeeks
x
×
Suggest a Topic
menu
    GeeksforGeeks
  • Skip to content
    • Tutorials
      • 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
        • Randomized Algorithms
        • Greedy Algorithms
        • Dynamic Programming
        • Divide and Conquer
        • Backtracking
        • Branch and Bound
        • All Algorithms
      • Data Structures
        • Arrays
        • Linked List
        • Stack
        • Queue
        • Binary Tree
        • Binary Search Tree
        • Heap
        • Hashing
        • Graph
        • Advanced Data Structure
        • Matrix
        • Strings
        • All Data Structures
      • Languages
        • C
        • C++
        • Java
        • Python
        • C#
        • Javascript
        • JQuery
        • SQL
        • PHP
        • Scala
        • Perl
        • Go Language
        • HTML
        • CSS
        • Kotlin
      • Interview Corner
        • Company Preparation
        • Top Topics
        • Practice Company Questions
        • Interview Experiences
        • Experienced Interviews
        • Internship Interviews
        • Competitive Programming
        • Design Patterns
        • Multiple Choice Quizzes
      • GATE
        • GATE CS Notes 2020
        • Last Minute Notes
        • GATE CS Solved Papers
        • GATE CS Orignal Papers and Official Keys
        • GATE 2020 Dates
        • GATE CS 2020 Syllabus
        • Important Topics for GATE CS
        • Sudo GATE 2020
      • ISRO CS
        • ISRO CS Solved Papers
        • ISRO CS Original Papers and Official Keys
        • ISRO CS Syllabus for Scientist/Engineer Exam
      • UGC NET CS
        • UGC NET CS Notes Paper II
        • UGC NET CS Notes Paper III
        • UGC NET CS Solved Papers
      • CS Subjects
        • Mathematics
          • First Order Logic
          • Combinatorics
          • Set Theory
          • Graph Theory
          • Linear Algebra
          • Probability
          • Calculus
        • Operating Systems
          • Processes, threads, CPU scheduling
          • Process Synchronization
          • Deadlock
          • Memory Management
          • File and Disk Management
        • DBMS
          • Entity Relationship Model
          • Relational Model
          • Normalisation
          • SQL
          • Transactions and concurrency control
        • Computer Networks
          • Basics
          • Data Link Layer
          • Network layer
          • Transport layer
          • Application layer
          • Network Security and Cryptography
        • Computer Organization and Architecture
          • Basics
          • ALU, data‐path and control unit
          • Pipelining
          • Memory Organisation
          • Input and Output Systems
        • Theory of Computation
          • Regular Languages and Finite Automata
          • Context Free Grammar and Context Free Languages
          • Turing Machine
        • Compiler Design
          • Introduction
          • Lexical Analysis
          • Syntax Analysis
          • Syntax Directed Translation
          • Runtime Environments
          • Code Generation and Optimization
        • Digital Logic
          • Boolean Algebra and Logic Gates
          • Combinational Logic Circuits
          • Flip-Flops and Sequential Circuits
        • Software Engineering
          • Introduction
          • Software Development Models & Architecture
          • Software Project Management
          • Software Requirements
          • Software Testing and Debugging
      • Web Technologies
        • HTML
        • CSS
        • JavaScript
        • PHP
        • JQuery
    • Students
      • Get Hired
      • Campus Ambassador Program
      • Project
      • Geek of the Month
      • Campus Geek of the Month
      • Placement Course
      • Competitive Programming
      • Testimonials
      • Geek on the Top
      • Careers
      • Internship
  • Courses
  • Home
  • All Algorithms
  • Analysis of Algorithms
  • Searching Algorithms
  • Sorting Algorithms
  • Graph Algorithms
  • Bit Algorithms
  • Pattern Searching
  • Geometric Algorithms
  • Mathematical Algorithms
  • Randomized Algorithms
  • Game Theory
  • Greedy Algorithms
  • Dynamic Programming
  • Divide and Conquer
  • Backtracking
  • Branch & Bound
  • All Data Structures
  • Array
  • LinkedList
  • Stack
  • Queue
  • Binary Tree
  • Binary Search Tree
  • Heap
  • Hashing
  • Graph
  • Advanced Data Structure
  • Matrix
  • Strings
  • C
  • C++
  • Java
  • Python
  • SQL
  • PHP
  • Javascript
  • Program Output
  • Company Prep
  • Top Topics
  • Practice Company Questions
  • Interview Experiences
  • Experienced Interviews
  • Internship Interviews
  • Competitive Programming
  • Design Patterns
  • Multiple Choice Quizzes
  • Campus Ambassador Program
  • Geek of the Month
  • Placement Course
  • Project
  • Competitive Programming
  • Testimonials
  • Geek on the Top
  • Careers
  • Internship
  • School Programming
  • GATE CS Corner
  • GATE Notes
  • Last Minute Notes
  • Official Papers
  • Gate 2018 Important Dates and Links
  • Operating Systems
  • DBMS
  • Computer Networks
  • Compiler Design
  • Web Technology
  • Computer Organization & Architecture
  • Digital Electronics
  • Engg. Mathematics
  • Theory of Computation
  • Advanced Topics
  • What’s Difference?
  • C
  • C++
  • Java
  • Python
  • Data Structures
  • Algorithms
  • Operating Systems
  • DBMS
  • Compiler Design
  • Computer Networks
  • Theory of Computation
  • Computer Organization
  • Software Engineering
  • HTML & XML
  • Engg. Mathematics
  • Aptitude
  • GBlog
  • Puzzles
  • What’s New?
    GeeksforGeeks
    gsc_desk_img
    • Write an Article
    • Courses @ GeeksforGeeks
    • Internships @ GeeksforGeeks
    • Coding Practice
    • How to write an Interview Experience?
    • Must Do Coding Questions Company-wise
    • Must Do Coding Questions Topic-wise
    • Basic
    • Easy
    • Medium
    • Hard
    • Expert
    • Step by Step Preparation
    • Company Preparation
    • Top Topics
    • Company Specific Practice
    • Software Design Patterns
    • Placements Preparation Course
    • Interview Corner
    • Recent Interview Experiences
    • GQ Home Page
    • Quiz Corner
    • LMNs
    • What's New ?
    • Leaderboard !!
    • Topic-wise Practice
    • Subjective Problems
    • Difficulty Level - School
    • Difficulty Level - Basic
    • Difficulty Level - Easy
    • Difficulty Level - Medium
    • Difficulty Level - Hard
    • Explore More...
    • C
    • C++
    • Java
    • Python
    • SQL
    • PHP
    • JavaScript
    • School Programming
    • Operating Systems
    • DBMS
    • Computer Networks
    • Engineering Mathematics
    • Design Patterns
    • Common Interview Puzzles
    • Web Technology
    • G-Facts
    • Computer Graphics
    • Image Processing
    • Project Ideas
    Featured Article

    Geeks Summer Carnival – A Virtual Fun Festival For Coders

    The season of Summer has already arrived and so the most exciting period of the year too! Indeed, summer always comes with a new wave… Read More »

    GBlog
    GFG-Update
    Featured Article

    What Are the Advantages of Associating With Companies During College?

    Do you remember, why did you start your college journey? To make a successful career, needless to say! And what are you doing now to… Read More »

    GBlog
    Featured Article

    Special 21 – Coding Interview Preparation in 21 Days Lockdown

    The whole nation is in the state of lockdown due to COVID-19 and to win a war against this outbreak, all we can do is… Read More »

    GBlog
    GFG-Update

    Check if sum of Fibonacci elements in an Array is a Fibonacci number or not

    2

    Given an array arr[] containing N elements, the task is to check if the sum of Fibonacci elements of the array is a fibonacci number… Read More »

    Arrays
    Competitive Programming
    Hash
    Searching
    Write From Home
    Fibonacci

    GCD of elements occurring Fibonacci number of times in an Array

    2

    Given an array arr[] containing N elements, the task is to find the GCD of the elements which have frequency count which is a Fibonacci… Read More »

    Arrays
    Hash
    Mathematical
    Write From Home
    Fibonacci
    GCD-LCM
    number-digits

    Count numbers divisible by K in a range with Fibonacci digit sum for Q queries

    3

    Given an array arr[][] containing Q queries and an integer K where each query consists of a range [L, R], the task is to find… Read More »

    Arrays
    Competitive Programming
    Hash
    Write From Home
    array-range-queries
    Fibonacci
    Number Divisibility

    Count of nodes in a Binary Tree whose immediate children are co-prime

    Given a Binary Tree, the task is to count the nodes whose immediate children are co-prime. Examples: Input: 1 / \ 15 5 / \… Read More »

    Tree
    Binary Tree
    GCD-LCM
    Prime Number
    tree-level-order

    Numbers with a Fibonacci difference between Sum of digits at even and odd positions in a given range

    Prerequisites: Digit DP Given a range [L, R], the task is to count the numbers in this range having the difference between, the sum of… Read More »

    Arrays
    Dynamic Programming
    Hash
    Write From Home
    array-range-queries
    Fibonacci

    Program to print the series 1, 9, 17, 33, 49, 73, 97… till N terms

    Given a number N, the task is to print the first N terms of the series: Examples: Input: N = 7 Output: 1, 9, 17,… Read More »

    Mathematical
    School Programming
    series
    series-sum

    Find Nth term of the series where each term differs by 6 and 2 alternately

    Given a number N, the task is to find the Nth term of the series where each term differs by 6 and 2 alternately. Examples:… Read More »

    Mathematical
    series

    Sum and product of K smallest and largest Fibonacci numbers in the array

    3

    Given an integer K and an array arr[] containing N integers, the task is to find the sum and product of K smallest and K… Read More »

    Arrays
    Hash
    Heap
    Queue
    Write From Home
    Fibonacci

    Count of numbers whose difference with Fibonacci count upto them is atleast K

    Prerequisites: Binary Search Given two positive integers N and K, the task is to count all the numbers that satisfy the following conditions: If the… Read More »

    Arrays
    Searching
    Write From Home
    array-range-queries
    Fibonacci

    Maximize the number of indices such that element is greater than element to its left

    Given an array arr[] of N integers, the task is to maximize the number of indices such that an element is greater than the element… Read More »

    Arrays
    Competitive Programming
    Greedy
    array-rearrange
    Greedy Algorithms

    Digital Root of a given large integer using Recursion

    The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then… Read More »

    Mathematical
    Recursion
    Strings
    ACM-ICPC
    large-numbers
    number-digits
    root

    Count of nodes in a Binary Tree whose child is its prime factors

    Given a Binary Tree, the task is to print the count of nodes whose either of the immediate child is its prime factors. Examples: Input:… Read More »

    Mathematical
    Tree
    Binary Tree
    prime-factor
    sieve
    tree-level-order

    String obtained by reversing and complementing a Binary string K times

    Given a binary string of size N and an integer K, the task is to perform K operations upon the string and print the final… Read More »

    Bit Magic
    Strings
    binary-string
    complement
    Reverse

    Find the Sum of the series 1/2 – 2/3 + 3/4 – 4/5 + … till N terms

    Given a number N, the task is to find the sum of the below series till N terms. Examples: Input: N = 6 Output: -0.240476… Read More »

    Mathematical
    School Programming
    series-sum

    Find the Sum of the series 1 + 2 + 9 + 64 + 625 + 7776 … till N terms

    Given a number N, the task is to find the sum of the below series till N terms. Examples: Input: N = 2 Output: 3… Read More »

    Mathematical
    School Programming
    series
    series-sum
    Page 1 of 3,67912345...102030...»Last »
    auto
    Most Popular Articles
    • Must Do Coding Questions for Companies like Amazon, Microsoft, Adobe, ...
    • Top Machine Learning Trends in 2019
    • How to Crack System Design Round in Interviews?
    • $timeout service in AngularJS
    • ES6 | Page Printing

    Most Visited Articles
    • How to set a default parameter value for a JavaScript function ?
    • How to set placeholder value for input type date in HTML 5 ?
    • What is favicon and what is the size of it in HTML?
    • Difference between 'hidden' and 'aria-hidden' attributes in HTML
    • How to use goto in Javascript ?

    ✍
    Write a Testimonial
    • GeeksforGeeks
    • 5th Floor, A-118,
    • Sector-136, Noida, Uttar Pradesh - 201305
    • feedback@geeksforgeeks.org
    • 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