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