Skip to content
Gblog GeeksforGeeks Job-A-Thon – Are You Ready For This Hiring Challenge?
Everyone will agree with this, especially college students or freshers, that to get connected with the recruiters and grab worthwhile job opportunities for getting into… Read More
Website Design Trends offer you a DIRECT COURSE-OF-ACTION for impressing the visitors directed to your websites. Most significantly, these trends teach you how long can… Read More
Are you among the ones who want to learn Android App Development from the beginning? Are you someone who doesn’t have any idea about Android… Read More
Given sorted float array arr[]. Check if arr[] can be rearranged such that its mean is equal to its median. Examples: Input: arr[] = {1.0,… Read More
Given a binary string S, the task is to find the sum of the shortest distance between all 0s to 1 in the given string… Read More
Given a positive integer N representing N stairs and a person it at the first stair, the task is to print all ways to reach… Read More
Given two Geometric Progressions (a1, r1) and (a2, r2) where (x, y) represents GP with initial term x and common ratio y and an integer… Read More
Given an array of pairs arr[][] of length N, and an array queries[] of length M, and an integer R, where queries[i] contain an integer… Read More
Johnson’s algorithm finds the shortest paths between all pairs of vertices in a weighted directed graph. It allows some of the edge weights to be… Read More
Given a Matrix grid[][] of size NxM where N is number of rows and M is number of columns. The task is to form a… Read More
Given N integers, the task is to insert those elements in the queue. Also, given M integers, the task is to find the frequency of… Read More
Given an array arr[], the task is to perform arithmetic operations (+, -, *, /) on arr[] in sequence. These operations are performed on adjacent… Read More
Given three integers A, B, and C, the task is to find the minimum possible value of |A – X| + |B – Y| +… Read More
Given a Generic Tree consisting of N nodes valued from 0 to (N – 1) where P[i]th in the array P[] denotes ith nodes parent(1-based… Read More
Given two arrays A[] and B[] consisting of N positive integers, the task is to find the total number of subsets of indices such that… Read More
Given a binary string S of size N, the task is to check if the count of 1s can be made greater than the count… Read More