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 if string S2 can be obtained by appending subsequences of string S1
Given two strings S1 and S2, the task is to check if it's possible to generate string S2 by repeatedly appending subsequences of S1 to the end of an initially empty string...
Read More
Strings
Greedy
Searching
Hash
subsequence
cpp-set
frequency-counting
DSA
Count decrements to nearest smaller element required to make all array elements equal
Given an array arr[] consisting of N non-negative integers, the task is to find the number of operations required to make all array elements equal. In each operation, any ...
Read More
Arrays
Searching
Sorting
Mathematical
Hash
array-rearrange
cpp-map
Java-HashMap
frequency-counting
DSA
Possible arrangement of persons waiting to sit in a hall
Given an integer N, a binary string S and an array W[]. S denotes the sequence of N * 2 persons entering the hall, where 0 denotes a boy and 1 denotes a girl. W[] denotes ...
Read More
Arrays
Strings
Queue
Sorting
Mathematical
binary-string
priority-queue
DSA
Count pairs whose product contains single distinct prime factor
Given an array arr[] of size N, the task is to count the number of pairs from the given array whose product contains only a single distinct prime factor.Examples:Input: ar...
Read More
Arrays
combinatorics
Algorithms
Searching
Mathematical
Hash
Combinatorial
Competitive Programming
prime-factor
Prime Number
number-theory
C++ Programs
DSA
Find a pair with sum N having minimum absolute difference
Given an integer N, the task is to find a distinct pair of X and Y such that X + Y = N and abs(X - Y) is minimum.Examples:Input: N = 11Output: 5 6Explanation:X = 5 and Y =...
Read More
Greedy
Mathematical
School Programming
DSA
Matrix Addition
Matrix Addition as the name suggests in the article, explores the addition of matrices and it is one of the fundamental operations in the field of Linear Algebra.Matrix Ad...
Read More
Mathematics
School Learning
Class 12
CSS Frequency Value
The frequency is a data type of CSS value. It represents the frequency dimension of sound like speaking frequency. This value is currently not used by any CSS properties. ...
Read More
Web technologies
Web Technologies
CSS-Properties
CSS
Fuzzy Search in JavaScript
Fuzzy searching matches the meaning, not necessarily the precise wording or specified phrases. It performs something the same as full-text search against data to see likel...
Read More
Web Technologies
JavaScript
JavaScript-Misc
Minimize replacements or swapping of same indexed characters required to make two given strings palindromic
Given two strings, str1 and str2 consisting of N lowercase alphabets, the task is to find the minimum count of operations of the following two types to make both the strin...
Read More
Strings
Searching
palindrome
DSA
Emmet in visual studio code
Emmet in Visual Studio Code: Emmet is a built-in feature in Visual Studio Code. You don't have to install any extensions for emmet support. Emmet prevents you from writing...
Read More
Web Technologies
Find an integral solution of the non-linear equation 2X + 5Y = N
Given an integer N representing a non-linear equation of the form 2X + 5Y = N, the task is to find an integral pair (X, Y) that satisfies the given equation. If multiple s...
Read More
Bit Magic
combinatorics
Searching
Mathematical
Combinatorial
number-theory
maths-power
DSA
Difference between lexicographical ranks of two given permutations
Given two arrays P[] and Q[] which permutations of first N natural numbers. If P[] and Q[] are the ath and bth lexicographically smallest permutations of [1, N] respective...
Read More
Arrays
Mathematical
Combinatorial
permutation
DSA
Java Program to Handle Unchecked Exception
Exceptions are the issues arising at the runtime resulting in an abrupt flow of working of the program. Remember exceptions are never thrown at the compile-time rather alw...
Read More
Java
Technical Scripter
Java-Exception Handling
Java Programs
Technical Scripter 2020
Class 8 NCERT Solutions - Chapter 9 Algebraic Expressions and Identities - Exercise 9.2
Question 1. Find the product of the following pairs of monomials.Monomial: Expression containing only one term(i) 4, 7pAns:(4) * (7p) = 28p(ii) -4p, 7pAns: (-4p) * (7p) = ...
Read More
Mathematics
School Learning
NCERT
Class 8
NCERT Solutions Class-8
How to create dynamic length array with numbers and sum the numbers using JavaScript ?
In JavaScript, array is a single variable that is used to store different elements. It is often used when we want to store a list of elements and access them by a single v...
Read More
Web Technologies
JavaScript
JavaScript-Questions
1
...
6995
6996
6997
...
11320