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
Python3 Program for Check if given string can be formed by two other strings or their permutations
Given a string str and an array of strings arr[], the task is to check if the given string can be formed by any of the string pair from the array or their permutations.Exa...
Read More
Arrays
Strings
Searching
Sorting
counting-sort
DSA
C++ Program for Check if given string can be formed by two other strings or their permutations
Given a string str and an array of strings arr[], the task is to check if the given string can be formed by any of the string pair from the array or their permutations.Exa...
Read More
Arrays
Strings
Searching
Sorting
C++ Programs
counting-sort
DSA
Find X such that elements at only alternate indices in given Array are divisible by X
Given an array arr[] of N integers, the task is to find an integer X such that the integers that are divisible by X and the integers that are not divisible by X are altern...
Read More
Arrays
Mathematical
GCD-LCM
divisibility
Algo Geek
Algo-Geek 2021
DSA
Find Characteristic Polynomial of a Square Matrix
In linear algebra, the characteristic polynomial of a square matrix is a polynomial that is invariant under matrix similarity and has the eigenvalues as roots. It has the ...
Read More
Matrix
C++
Algo Geek
Algo-Geek 2021
DSA
Find all Array elements that are smaller than all elements to their right
Given an array arr[] containing N positive integers. The task is to find all the elements which are smaller than all the elements to their right.Examples:Input: arr[] = {6...
Read More
Arrays
Greedy
Mathematical
Algo Geek
Algo-Geek 2021
DSA
Javascript Program For Counting Rotations In Sorted And Rotated Linked List
Given a linked list of n nodes which is first sorted, then rotated by k elements. Find the value of k.The idea is to traverse singly linked list to check condition whether...
Read More
Linked List
rotation
Web Technologies
JavaScript
DSA
Python3 Program to Count rotations in sorted and rotated linked list
Given a linked list of n nodes which is first sorted, then rotated by k elements. Find the value of k.The idea is to traverse singly linked list to check condition whether...
Read More
Linked List
Python
rotation
DSA
Java Program to Count rotations in sorted and rotated linked list
Given a linked list of n nodes which is first sorted, then rotated by k elements. Find the value of k.The idea is to traverse singly linked list to check condition whether...
Read More
Linked List
Java
rotation
Java Programs
DSA
C++ Program to Count rotations in sorted and rotated linked list
Given a linked list of n nodes which is first sorted, then rotated by k elements. Find the value of k.The idea is to traverse singly linked list to check condition whether...
Read More
Linked List
rotation
C++
C++ Programs
DSA
Minimize removals in given Array to make max less than twice of min
Given an integer array arr[]. The task is to minimize the number of removals required such that the maximum element in arr[] becomes less than twice the minimum.ExamplesIn...
Read More
Arrays
Greedy
Algo Geek
Algo-Geek 2021
DSA
Java String hashCode() Method with Examples
The Java String hashCode() method is used to return the particular value's hash value. The hashCode() uses an internal hash function that returns the hash value of the sto...
Read More
Java
Java-Strings
Java-Functions
Picked
Javascript Program to Efficiently compute sums of diagonals of a matrix
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix.A00 A01 A02 A03A10 A11 A12 ...
Read More
Matrix
school-programming
Web Technologies
JavaScript
CBSE - Class 11
DSA
Php Program to Efficiently compute sums of diagonals of a matrix
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix.A00 A01 A02 A03A10 A11 A12 ...
Read More
Matrix
school-programming
Web Technologies
PHP
CBSE - Class 11
PHP Programs
DSA
Python Program to Efficiently compute sums of diagonals of a matrix
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix.A00 A01 A02 A03A10 A11 A12 ...
Read More
Matrix
Python
school-programming
Python Programs
CBSE - Class 11
DSA
Java Program to Efficiently compute sums of diagonals of a matrix
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix.A00 A01 A02 A03A10 A11 A12 ...
Read More
Java
Matrix
school-programming
Java Programs
CBSE - Class 11
DSA
1
...
4970
4971
4972
...
11375