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
Three 90 Challenge: Bigger and Better
As we transit into the new phase, it's essential to fuel our inner drive for success. On popular demand, GeeksforGeeks is happy to announce that we are back with the Thre...
Read More
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
How to run a code on document ready event in jQuery ?
In this article, we will see how to run a code when a page loads using jQuery. To run a code at page load time, we will use the ready() method. This method helps to load t...
Read More
Web Technologies
HTML-Tags
JQuery
jQuery-Methods
HTML-Questions
How to select all ancestors of an element in jQuery ?
In this article, we will select all the ancestor elements of an element in jQuery. To select all ancestor elements of an element, the parents() method is used. This method...
Read More
Web Technologies
HTML-Tags
CSS-Properties
jQuery-Selectors
JQuery
jQuery-Methods
HTML-Questions
CSS-Questions
jQuery-Questions
How to create and style border using CSS ?
The border property is used to create a border around an element and defines how it should look. There are three properties of the border.border-colorborder-widthborder-st...
Read More
Web Technologies
Picked
CSS-Properties
CSS
CSS-Questions
1
...
6172
6173
6174
...
11255