GeeksforGeeks - RSS Feed

A computer science portal for geeks

Latest articles

How to Use Bootstrap with React?

We all know the popularity of React, and how this library has made development tasks easier for frontend developers. React is the most popular front-end… Read More The post How to Use Bootstrap with React? appeared first on GeeksforGeeks.

Java Multithreading Tutorial

Threads are the backbone of multithreading. We are living in a real-world which in itself is caught on the web surrounded by lots of applications.… Read More The post Java Multithreading Tutorial appeared first on GeeksforGeeks.

Find min and max values among all maximum leaf nodes from all possible Binary Max Heap

Given a positive integer N, the task is to find the largest and smallest elements, from the maximum leaf nodes of every possible binary max-heap… Read More The post Find min and max values among all maximum leaf nodes from all possible Binary Max Heap appeared first on GeeksforGeeks.

Check if given Strings can be made equal by inserting at most 1 String

Given two sentences S1 and S2, the task is to check if the sentences can be made equal by inserting at most one sentence(possibly, empty)… Read More The post Check if given Strings can be made equal by inserting at most 1 String appeared first on GeeksforGeeks.

Find the repeating element in an Array of size N consisting of first M natural numbers

Given an array arr[] of size N, which contains a permutation of numbers from 1 to M, as well as an element that is repeated(one… Read More The post Find the repeating element in an Array of size N consisting of first M natural numbers appeared first on GeeksforGeeks.

Count of distinct GCDs among all the non-empty subsequences of given array

Given an integer array arr[] of size N, the task is to calculate the total number of distinct Greatest Common Divisors(GCDs) among all the non-empty… Read More The post Count of distinct GCDs among all the non-empty subsequences of given array appeared first on GeeksforGeeks.

Find the maximum GCD possible for some pair in a given range [L, R]

Given a range L to R, the task is to find the maximum possible value of GCD(X, Y) such that X and Y belongs to… Read More The post Find the maximum GCD possible for some pair in a given range [L, R] appeared first on GeeksforGeeks.

Lexicographically largest string formed in minimum moves by replacing characters of given String

Given a string S consisting of N lowercase English characters, the task is to print the lexicographically, the largest string obtained using only the minimum… Read More The post Lexicographically largest string formed in minimum moves by replacing characters of given String appeared first on GeeksforGeeks.

Check if it is possible to color N objects such that for ith object, exactly arr[i] distinct colors are used

Given an array arr[] consisting of N positive integers, the task is to check if it is possible to color the N objects such that… Read More The post Check if it is possible to color N objects such that for ith object, exactly arr[i] distinct colors are used appeared first on GeeksforGeeks.

Minimum operations to make product of adjacent element pair of prefix sum negative

 Given an array arr[ ] of size N, consider an array prefix[ ] where prefix[i] is the sum of the first i elements of arr.… Read More The post Minimum operations to make product of adjacent element pair of prefix sum negative appeared first on GeeksforGeeks.

Discover, share and read the best on the web

Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters! Get unfiltered news feeds or filter them to your liking.

Get Inoreader
Inoreader - Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters!