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
Count frequency of digit K in given Array
Given an array arr[] of integers of size N and a single digit integer K. The task is to find the total count of occurrences of the digit K in the arrayExamples:Input: arr[...
Read More
Arrays
frequency-counting
DSA
Check if a Lexicographical Pythagorean Triplets exists in range [0, K) of lexicographically largest string
Given a string str and a positive integer K. The task is to find if there exist a Pythagorean Triples in the first window of size K of a string which have the same charact...
Read More
Strings
Sorting
Mathematical
lexicographic-ordering
DSA
Sort given Array using at most N cyclic shift on any subarray
Given an array arr[] containing N integers, with duplicates. The task is to sort the array in increasing order using at most N cyclic shift on any sub-array.Cyclic shift o...
Read More
Arrays
Sorting
rotation
subarray
DSA
Find N-th term in the series 0, 4, 18, 48, 100 ...
Given a series 0, 4, 18, 48, 100 . . . and an integer N, the task is to find the N-th term of the series.Examples:Input: N = 4Output: 48Explanation: As given in the sequen...
Read More
Pattern Searching
Mathematical
maths-cube
maths-perfect-square
Sequence and Series
DSA
Maximum sum subsequence of any size which is decreasing-increasing alternatively
Given an array of integers arr[], find the subsequence with maximum sum whose elements are first decreasing, then increasing, or vice versa, The subsequence can start anyw...
Read More
Arrays
Dynamic Programming
Backtracking
Pattern Searching
subsequence
DSA
Juggler Sequence | Set 2 (Using Recursion)
Juggler Sequence is a series of integer number in which the first term starts with a positive integer number a and the remaining terms are generated from the immediate pre...
Read More
Pattern Searching
Mathematical
series
Recursion
Sequence and Series
DSA
Find the range [L, R] such that sum of numbers in this range equals to N
Given an integer N (N ≠ 0), the task is to find a range [L, R] (−10⁻¹⁸ L R 10¹⁸) such that sum of all integers in this range is equal to N.L + (L+1) + … + (R−1) + R = N...
Read More
Mathematical
number-digits
DSA
Minimum number to be added to N so that it does not contains digit D
Given a positive integer N and a digit D, the task is to find the smallest non-negative number required to be added to the given number such that after addition, the resul...
Read More
Searching
Mathematical
number-digits
DSA
Check if the Product of all Array elements is a Perfect Square or not
Given an array arr[] consisting of N positive integers, the task is to check if the product of all the elements of the given array arr[] is a perfect square or not. If fou...
Read More
Arrays
Mathematical
sieve
maths-perfect-square
DSA
K-th Smallest Pair Sum in given Array
Given an array of integers arr[] of size N and an integer K, the task is to find the K-th smallest pair sum of the given array.Examples:Input: arr[] = {1, 5, 6, 3, 2}, K =...
Read More
Arrays
Greedy
Mathematical
Heap
DSA
Bash Script - Write Hello World Program
In this article, we are going to see how to write "hello world" program in Bash script.The bash script is a text file that contains a set of instructions ( i.e. codes or c...
Read More
Linux-Unix
Picked
Bash-Script
How to create a bootstrap tooltip using jQuery ?
Tooltip is like a balloon or also a small screen tip that displays text descriptions to any object in a webpage. A tooltip is displayed when the user hovers over an object...
Read More
Web Technologies
Picked
JQuery
jQuery-Questions
Different ways to access HTML elements using JavaScript
Sometimes, users need to manipulate the HTML element without changing the code of the HTML. In this scenario, users can use JavaScript to change HTML elements without over...
Read More
Web Technologies
JavaScript
Picked
JavaScript-Questions
Explain the term “pseudo-class” in CSS3
Cascading Style Sheets referred to as CSS is a stylesheet language used to design and describe the presentation of the webpage to make it attractive. The main use of CSS i...
Read More
Web Technologies
Picked
CSS-Selectors
CSS
CSS-Questions
How to map array values without using map method in JavaScript ?
Array elements can be mapped by using looping methods in JavaScript. The map() method creates a new array with the results of the output of a function called for each arra...
Read More
Web Technologies
JavaScript
Picked
JavaScript-Questions
1
...
4967
4968
4969
...
11269