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 subarrays having product equal to the power of a given Prime Number
Given an array arr[] of size N and an integer M, the task is to count the number of subarrays having product of its elements equal to the power of M, where M is a prime nu...
Read More
Arrays
Mathematical
Prime Number
subarray
DSA
Amazon Interview Experience for SDE-2
Two Coding Rounds were held.Round 1:Given a 2D integer matrix of size (m*n). Calculate the sum of the submatrix of size (a*b), where am and bn.Now you are given n-queries ...
Read More
Amazon
Interview Experiences
Experiences
Prime triplets consisting of values up to N having difference between two elements equal to the third
Given a positive integer N, the task is to find all the prime triplets {P, Q, R} such that P = R - Q and P, Q and R is less than N.Examples:Input: N = 8Output:2 3 52 5 7Ex...
Read More
Mathematical
Technical Scripter
sieve
Prime Number
Technical Scripter 2020
DSA
Minimize subtraction followed by increments of adjacent elements required to make all array elements equal
Given an array arr[] consisting of N positive integers, the task is to make all array elements equal by repeatedly subtracting 1 from any number of array elements and add ...
Read More
Arrays
Amazon
Algorithms
Pattern Searching
Mathematical
interview-preparation
array-rearrange
prefix-sum
DSA
Number of common digits present in two given numbers
Given two positive numbers N and M, the task is to count the number of digits that are present in both N and M.Examples:Input: N = 748294, M = 34298156Output: 4Explanation...
Read More
Searching
Hash
number-digits
School Programming
frequency-counting
DSA
Check if two piles of coins can be emptied by repeatedly removing 2 coins from a pile and 1 coin from the other
Given two piles of coins consisting of N and M coins, the task is to check if both the piles can be emptied simultaneously by repeatedly removing 2 coins from one pile and...
Read More
Strings
Greedy
Mathematical
Competitive Programming
Data Structures
DSA
C/C++ Puzzles
Python Program to print all distinct uncommon digits present in two given numbers
Given two positive integers A and B, the task is to print the distinct digits in descending order, which are not common in the two numbers.Examples:Input: A = 378212, B = ...
Read More
Searching
Sorting
Hash
number-digits
Python Programs
python-set
Python list-programs
DSA
Check if a matrix can be converted to another by repeatedly adding any value to X consecutive elements in a row or column
Given two matrices A[][] and B[][] of size M × N and an integer X, the task is to check if it is possible to convert matrix A[][] to matrix B[][] by adding any value to X ...
Read More
Greedy
Matrix
array-rearrange
DSA
Python Program to get all unique keys from a List of Dictionaries
Given a list arr[] consisting of N dictionaries, the task is to find the sum of unique keys from the given list of the dictionary.Examples:Input: arr = [{'my': 1, 'name': ...
Read More
Python Programs
Python list-programs
Python dictionary-programs
Python Program to print sum of all key value pairs in a Dictionary
Given a dictionary arr consisting of N items, where key and value are both of integer type, the task is to find the sum of all key value pairs in the dictionary.Examples:I...
Read More
Mathematical
Python Programs
Python dictionary-programs
DSA
What are physical tags in HTML?
Physical Tags are used to indicate that how specific characters are to be formatted or indicated using HTML tags. Any physical style tag may contain any item allowed in te...
Read More
Web Technologies
Picked
HTML-Tags
HTML-Basics
HTML
HTML-Questions
How to bind an animation to a division element using CSS ?
In this article, we will learn to bind an animation to a div tag using CSS.A div tag is used to separate the different sections of the contents in the webpage. It makes it...
Read More
Web technologies
Web Technologies
Picked
CSS-Properties
CSS
How to specify the shape of the area in HTML5 ?
In the present article, we will be learning about the shape attribute of the HTML area tag and how it can be used to specify the shape of the area in HTML5.We use the shap...
Read More
Web Technologies
Picked
HTML-Tags
HTML
HTML-Questions
How to define a client-side script in HTML5 ?
To define a client-side script in HTML5, we can do script tag or adding external script file by src attribute to the HTML file. script tag contains the JavaScript to be ad...
Read More
Web Technologies
Picked
HTML5
HTML-Tags
HTML
HTML-Questions
How to remove white spaces from a string using jQuery ?
In this article, we will see how to remove the white spaces from string using jQuery. To remove the white spaces, we will use trim() method. The trim() method is used to r...
Read More
Web Technologies
HTML-Tags
HTML
JQuery
jQuery-Methods
HTML-Questions
jQuery-Questions
1
...
6187
6188
6189
...
11268