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
Check whether a number can be represented as difference of two squares
Given a number N, the task is to check if this number can be represented as the difference of two perfect squares or not.Examples:Input: N = 3Output: YesExplanation:22 - 1...
Read More
Mathematical
number-digits
maths-perfect-square
DSA
strings.LastIndexAny() Function in Golang With Examples
strings.LastIndexAny() Function in the Golang is used to find the index of the last instance of any Unicode code point from chars in a given string. If the Unicode code po...
Read More
Picked
Go Language
Golang-String
Implementation of Blockchain in Java
Blockchain is the backbone Technology of Digital CryptoCurrency BitCoin.A Blockchain is a list of records called blocks that are linked together using linked lists and use...
Read More
Algorithms
Java Programs
Blockchain
DSA
Count of Fibonacci divisors of a given number
Given a number N, the task is to find the number of divisors of N which belongs to the fibonacci series.Examples:Input: N = 12Output: 3Explanation:1, 2 and 3 are the 3 div...
Read More
Mathematical
Write From Home
DSA
bits.LeadingZeros() Function in Golang With Examples
bits.LeadingZeros() Function in Golang is used to find the number of the leading zero bits in the given number. If the given number is equal to zero, then this function wi...
Read More
Go Language
Golang-bits
bits.LeadingZeros64() Function in Golang With Examples
bits.LeadingZeros64() Function in Golang is used to find the number of the leading zero bits in the given number. If the given number is equal to zero, then this function ...
Read More
Go Language
Golang-bits
bits.LeadingZeros32() Function in Golang With Examples
bits.LeadingZeros32() Function in Golang is used to find the number of the leading zero bits in the given number. If the given number is equal to zero, then this function ...
Read More
Go Language
Golang-bits
bits.LeadingZeros16() Function in Golang With Examples
bits.LeadingZeros16() Function in Golang is used to find the number of the leading zero bits in the given number. If the given number is equal to zero, then this method wi...
Read More
Go Language
Golang-bits
bits.LeadingZeros8() Function in Golang with Examples
bits.LeadingZeros8() Function in Golang is used to find the number of the leading zero bits in the given number. If the given number is equal to zero, then this method wil...
Read More
Go Language
Golang-bits
How to flatten a Vector of Vectors or 2D Vector in C++
Given a Vector of Vectors (2D vector), the task is to flatten this 2d vector. Examples:Input: vector = [[1, 2, 3, 4], [5, 6], [7, 8]] Output: 1 2 3 4 5 6 7 8 Input: vector...
Read More
Arrays
Advanced Data Structure
cpp-vector
Recursion
C++
cpp-iterator
DSA
Expectimax Algorithm in Game Theory
The Expectimax search algorithm is a game theory algorithm used to maximize the expected utility. It is a variation of the Minimax algorithm. While Minimax assumes that th...
Read More
Algorithms
Game Theory
Recursion
DSA
Minimum Bipartite Groups
Given Adjacency List representation of graph of N vertices from 1 to N, the task is to count the minimum bipartite groups of the given graph.Examples:Input: N = 5Below is ...
Read More
Tree
Algorithms
Greedy
DFS
Game Theory
Recursion
Data Structures
connected
DSA
Count of subtrees in a Binary Tree having XOR value K
Given a value K and a binary tree, the task is to find out number of subtrees having XOR of all its elements equal to K.Examples:Input K = 5, Tree = 2 / \ ...
Read More
Tree
Binary Tree
Mathematical
Bitwise-XOR
DSA
<complex.h> header file in C with Examples
Most of the C Programs deals with complex number operations and manipulations by using complex.h header file. This header file was added in C99 Standard. C++ standard libr...
Read More
Mathematical
C Language
C-Library
C Programs
DSA
Make array elements equal with minimum cost
Given an array of integers arr[], the task is to find the minimum number of steps to make array elements equal by following two operations -Add or subtract 2 from the elem...
Read More
Arrays
Mathematical
DSA
1
...
8456
8457
8458
...
11291