Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
Surd and indices in Mathematics
Surds :Let x is a rational number(i.e. can be expressed in p/q form where q ≠ 0) and n is any positive integer such that x1/n = n √x is irrational(i.e. can't be expressed ...
Read More
GATE CS
Engineering Mathematics
Picked
Java Program to Partition a Tree from a Given Element using DFS
Depth First Traversal (or Search) for a graph is similar to Depth First Traversal of a tree. The only catch here is, unlike trees, graphs may contain cycles, a node may be...
Read More
Java
Java Programs
Picked
10 Best Books For AngularJS
In web development, various types of frameworks are used in various fields. As a web developer, if you are looking for something that helps to learn the front-end framewor...
Read More
GBlog
Web Technologies
AngularJS
Books
Minimize cost to make all characters of a Binary String equal to '1' by reversing or flipping characters of substrings
Given a binary string S, and two integers A, which denotes the cost of reversing a substring, and B, which denotes the cost of flipping all characters of a substring, the ...
Read More
Strings
binary-string
substring
DSA
Split array into K subarrays such that sum of maximum of all subarrays is maximized
Given an array arr[] of size N and a number K, the task is to partition the given array into K contiguous subarrays such that the sum of the maximum of each subarray is th...
Read More
Arrays
Sorting
Mathematical
subarray
partition
DSA
Check if a Binary String can be split into disjoint subsequences which are equal to "010"
Given a binary string, S of size N, the task is to check if it is possible to partition the string into disjoint subsequences equal to "010".Examples:Input: S = "010100"Ou...
Read More
Strings
Bit Magic
Greedy
subsequence
binary-string
frequency-counting
partition
DSA
Largest Prime Number possible from a subsequence of a Binary String
Given a Binary string, the task is to find the largest Prime Number possible by the decimal representation of a subsequence of the given binary string. If no prime number ...
Read More
Strings
Bit Magic
Algorithms
Mathematical
subsequence
binary-string
binary-representation
Prime Number
Data Structures
DSA
Minimize maximum difference between any pair of array elements by exactly one removal
Given an array arr[] consisting of N integers(N 2), the task is to minimize the maximum difference between any pair of elements (arr[i], arr[j]) by removing exactly one e...
Read More
Arrays
Algorithms
Sorting
DSA
Count numbers up to N whose GCD with N is less than that number
Given an integer N, the task is to count the values of K ( where 1 ? K? N ), such that 1 GCD(K, N) K.Examples:Input: N = 10Output: 3Explanation: The values of K which sat...
Read More
Mathematical
HCF
euler-totient
DSA
Minimum number of candies required to distribute among children based on given conditions
Given an array arr[] consisting of N positive integers representing the ratings of N children, the task is to find the minimum number of candies required for distributing ...
Read More
Arrays
Java
Algorithms
Greedy
Mathematical
Competitive Programming
Data Structures
DSA
Check if a pair of integers from two ranges exists such that their Bitwise XOR exceeds both the ranges
Given two integers A and B, the task is to check if there exists two integers P and Q over the range [1, A] and [1, B] respectively such that Bitwise XOR of P and Q is gre...
Read More
Bit Magic
Mathematical
Bitwise-XOR
DSA
Minimize value of a given function for any possible value of X
Given an array A[] consisting of N integers(1-based indexing), the task is to find the minimum value of the function[Tex]\sum_{i = 1}^{N}(A[i] - (X + i))[/Tex]for any poss...
Read More
Arrays
Greedy
Sorting
Mathematical
median-finding
DSA
Minimize cost to cover floor using tiles of dimensions 1*1 and 1*2
Given a 2D array arr[][] of size N*M consisting of '.' and '*' characters representing a floor and two positive integers A and B representing the cost of a 1*1 and 1*2 til...
Read More
Java
Dynamic Programming
Greedy
Searching
Mathematical
Matrix
Java Programs
DSA
How to Create a Folder if It Doesn't Exist in PHP ?
We can easily create a folder in PHP, but before that, you have to check if the folder or directory already exists or not. So In this article, you will learn both to Check...
Read More
Web Technologies
PHP-function
PHP-file-handling
Picked
PHP
PHP-Questions
How to make grid items auto height using tailwind CSS ?
You can easily make CSS grid items to auto height using grid-template-columns property in Tailwind CSS.Tailwind uses grid-col and grid-row property which is an alternative...
Read More
Web Technologies
CSS
Tailwind CSS
Tailwind CSS-Questions
1
...
5855
5856
5857
...
11271