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
Check if sequence of removed middle elements from an array is sorted or not
Given an array arr[] consisting of N integers, the task is to check if the sequence of numbers formed by repeatedly removing the middle elements from the given array arr[]...
Read More
Arrays
Sorting
Mathematical
C++ Programs
two-pointer-algorithm
DSA
Class 9 RD Sharma Solutions - Chapter 5 Factorisation of Algebraic Expressions- Exercise 5.4
Factorize each of the following:Question 1. a3 + 8b3 + 64c3 – 24abcSolution:We know thata3 + b3 + c3 – 3abc = (a + b + c) (a2 + b2 + c2 – ab – bc – ca)= a3 + 8b3 + 64c3 – ...
Read More
Picked
Mathematics
School Learning
Class 9
RD Sharma Solutions
RD Sharma Class-9
Partition a string into palindromic strings of at least length 2 with every character present in a single string
Given a string S consisting of N lowercase alphabets, the task is to check if all the strings of at least length 2 formed by selecting every character of the string S only...
Read More
Strings
Mathematical
Hash
frequency-counting
partition
DSA
Class 12 RD Sharma Solutions - Chapter 19 Indefinite Integrals - Exercise 19.14
Question 1. Evaluate ∫1/ a2-b2x2 dxSolution:Let us assume I = ∫ 1/ (a2-b2x2)dxtake 1/b2 common from above equation= 1/b2 ∫ 1/ (a2/b2-x2) dx= 1/b2 ∫ 1/ (a/b)2-x2) dxIntegra...
Read More
Picked
Mathematics
School Learning
Class 12
RD Sharma Solutions
RD Sharma Class-12
Minimize swaps required to make the first and last elements the largest and smallest elements in the array respectively
Given an array arr[] consisting of N integers, the task is to find the minimum number of adjacent swaps required to make the first and the last elements in the array the l...
Read More
Arrays
Greedy
Searching
array-rearrange
DSA
Class 12 RD Sharma Solutions - Chapter 29 The Plane - Exercise 29.12
Question 1(i): Find the coordinates of the point where the line through (5, 1, 6) and (3, 4, 1) crosses line through yz-plane.Solution:We know, the equation of line throug...
Read More
Picked
Mathematics
School Learning
Class 12
RD Sharma Solutions
RD Sharma Class-12
Number of smaller circles that can be inscribed in a larger circle
Given two positive integers R1 and R2, where R1 and R2 represent the radius of the larger and smaller circles respectively, the task is to find out the number of smaller c...
Read More
Mathematical
Geometric
Circles
Circle-Theorems
DSA
Modify string by sorting characters after removal of characters whose frequency is not equal to power of 2
Given a string S consisting of N lowercase alphabets, the task is to remove the characters from the string whose frequency is not a power of 2 and then sort the string in ...
Read More
Strings
Hash
frequency-counting
maths-log
maths-power
DSA
Number obtained by reducing sum of digits of 2N into a single digit
Given a positive integer N, the task is to find the single digit obtained after recursively adding the digits of 2N until a single digit remains.Examples:Input: N = 6Outpu...
Read More
Greedy
Pattern Searching
Mathematical
number-digits
DSA
How to Click on header to add another header in jQuery ?
In this article, we will see how to add a new header element after clicking the existing header elements in jQuery. To add the new header element, the delegate() method is...
Read More
Web Technologies
HTML-Tags
CSS-Properties
JQuery
jQuery-Questions
How to Double click on a div element to toggle background color in jQuery ?
In this article, we will see how to make a double click event on a paragraph element to toggle background color in jQuery. To toggle the background color of a div element ...
Read More
Web Technologies
HTML-Tags
CSS-Properties
JQuery
jQuery-Questions
How to hide all heading elements on a page when they are clicked in jQuery ?
In this article, we will see how to hide all heading elements on a page when they are clicked in jQuery.Here we have two common approaches.Using slideUp() methodUsing hide...
Read More
Web technologies
Web Technologies
HTML-Tags
CSS-Properties
JQuery
jQuery-Questions
jQuery
How to append an text message when an input field is modified in jQuery ?
In this article, we will see how to append an element with a text message when an input field is changed in jQuery. To append an element with a text message when the input...
Read More
Web Technologies
HTML-Tags
CSS-Properties
JQuery
jQuery-Questions
How to attach a click and double-click event to an element in jQuery ?
In this article, we will see how to attach a click and double-click event to an element in jQuery. To attach click and double-click events, click and dbclick events are us...
Read More
Web technologies
Web Technologies
HTML-Tags
CSS-Properties
JQuery
jQuery-Questions
jQuery
How to run a code on mouseenter event in jQuery ?
In this article, we will see how to run the code when the mouse enters into the specific area using jQuery. To run the code on a mouse enter a specific area, mouseenter() ...
Read More
Web Technologies
HTML-Tags
CSS-Properties
JQuery
jQuery-Questions
1
...
6164
6165
6166
...
11255