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
Longest Subsequence with difference between characters equals to K
Given a string S consisting of lowercase letters. Find the longest subsequence of S such that the difference between the maximum and minimum occurring characters in the su...
Read More
Strings
DSA
How to Invest in Share Market or Stock Market?
What are Shares?When the total capital of the company is divided into units of small denominations, it is known as shares. For example, if the total capital of the company...
Read More
Commerce
Finance
Equal number of 0's and 1's
Given two numbers a and b. Find the minimum number of steps required to make the number of the set (1) and unset(0) bits equal in a, b, and a ^ b where you can perform the...
Read More
Bit Magic
Bitwise-XOR
DSA
What is Saving Function (Propensity to Save)?
The functional relationship between saving and national income is known as Saving Function. It shows the savings of households during a given period of time at a given inc...
Read More
Macroeconomics
Commerce
Difference Between Signs And Symptoms
Signs and Symptoms are two important terms used in medical science to describe the physical and subjective manifestations of a disease or a medical condition. Signs refer ...
Read More
Difference Between
Picked
School Biology
Versus
Roadmap
Colour Wheel of Cyber Security
According to NIST, the ability to protect or defend the use of cyberspace from cyber-attacks is known as cyber security. Now, for companies some exercises/strategies inclu...
Read More
Cyber-security
Ethical Hacking
How to display images from an array in JavaScript ?
Displaying images from an array in HTML can be achieved using various approaches. In this article, we will discuss the syntax and two different approaches to displaying im...
Read More
Web Technologies
JavaScript
HTML
HTML-Questions
JavaScript-Questions
How to apply box-shadow to display elements like single element to user in CSS ?
In CSS, the box-shadow property allows you to add a shadow effect to an element. However, when it comes to applying box shadow to a combination of elements such as a span ...
Read More
Web Technologies
CSS-Properties
CSS
CSS-Questions
Maximize the minimum element and return it
Given an array A[] of size N along with W, K. We can increase W continuous elements by 1 where we are allowed to perform this operation K times, the task is to maximize th...
Read More
Arrays
Binary Search
Searching
DSA
Find the largest sum of a cycle in the maze
Given a maze with N cells. Each cell may have multiple entry points but not more than one exit(i.e entry/exit points are unidirectional doors like valves).You are given an...
Read More
Graph
DSA
Count the possible integer sets of maximum size with the given condition
Given two integers L and R, the task is to find the count of the sets of a maximum size such that each element in the set is between L and R (inclusive), and for any two ...
Read More
Mathematical
DSA
Count pairs of indices with a specific property in an Array
Given an array a[] of size n containing only non-negative integers, and an integer k, the task is to find the number of pairs of indices (i, j) such that i j and k * a[i]...
Read More
Arrays
Sorting
DSA
Count of squads of positive integers such that (A * B) + (C * D) = N
Given a positive integer N, the task is to find the count of squads of positive integers (A, B, C, D) such that (A * B) + (C * D) = N.Note: (A, B, C, D) is different from ...
Read More
Mathematical
permutation
divisors
DSA
Find the rank of a given combination from an Array of String
Given an array of string and a string K, the task is to find the rank of the given string if we generate all the combinations of the given array of strings.Examples:Input:...
Read More
Arrays
Strings
DSA
How to make the background of a div clickable in HTML ?
In web development, it is often desirable to make an entire area clickable, rather than just a hyperlink. One way to achieve this is by setting the background of an div el...
Read More
Web Technologies
JavaScript
HTML
CSS
HTML-Questions
CSS-Questions
JavaScript-Questions
1
...
3220
3221
3222
...
11582