All Easy Articles
You are given an array of 0s and 1s in random order. Segregate 0s on left side and 1s on right side of the array. … Read More
The maximum and minimum size of integral values are quite useful or in simple terms, limits of any integral type plays quite a role in… Read More
Python String partition() method splits the string at the first occurrence of the separator and returns a tuple containing the part before the separator, the… Read More
Introduction: Trie (also known as prefix tree) is a tree-based data structure that is used to store an associative array where the keys are sequences… Read More
In Python, a += b doesn’t always behave the same way as a = a + b, the same operands may give different results under… Read More
Given a matrix of size n*n. Count the frequency of given element k in that matrix. Here base index is 1. Examples:  Input : n… Read More
Python String isdecimal() function returns true if all characters in a string are decimal, else it returns False. In this article, we will explore further… Read More
Overriding An instance method overrides all accessible instance methods with the same signature in superclasses, enabling dynamic dispatch; in other words, the VM chooses which… Read More
James and Calie are a married couple. They have two children, one of the child is a boy. Assume that the probability of each gender… Read More
Given a non-negative integer n. The problem is to increment n by 1 by manipulating the bits of n.Examples :   Input : 6 Output :… Read More
Given a long sentence, reverse each word of the sentence individually in the sentence itself. Examples: Input : Geeks For Geeks is good to learn… Read More
To help you gauge your preparation, GeeksforGeeks has come again with the GATE CS 2018 MOCK Tests for a pre GATE experience before real GATE.… Read More
The symmetric difference of two sets set1 and set2 is the set of elements which are in either of the sets set1 or set2 but… Read More
Puzzle: We have to divide crescent moon in 6 parts, parts size does not matter. Only we have to cut the crescent moon in a… Read More
Given a Binary Tree, find the deepest leaf node that is the right child of its parent. For example, consider the following tree. The deepest… Read More
A graph is a data structure that is defined by two components : A node or a vertex. An edge E or ordered pair is… Read More
The current article would deal with the concepts surrounding the complex networks using the python library Networkx. It is a Python language software package for… Read More
Given an m*n matrix A and a p*q matrix B, their Kronecker product C = A tensor B, also called their matrix direct product, is a (m*p)… Read More
Given a positive integer n such that n > 2. Divide numbers from 1 to n in two groups such that absolute difference of sum… Read More
Prerequisite – Protocols in the Application Layer  DHCP stands for Dynamic Host Configuration Protocol. It is the critical feature on which the users of an… Read More