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
GATE | GATE CS 2021 | Set 1 | Question 8
There are five bags each containing identical sets of ten distinct chocolates. One chocolate is picked from each bag.The probability that at least two chocolates are ident...
Read More
GATE
GATE | GATE CS 2021 | Set 1 | Question 7
Details of prices of two items P and Q are presented in the above table. The ratio of cost of item P to cost of item Q is 3:4. Discount is calculated as the difference bet...
Read More
GATE
Class 11 RD Sharma Solutions - Chapter 32 Statistics - Exercise 32.4
Question 1. Find the mean, variance and standard deviation for the following data:(i) 2, 4, 5, 6, 8, 17(ii) 6, 7, 10, 12, 13, 4, 8, 12(iii) 227, 235, 255, 269, 292, 299, 3...
Read More
Picked
Mathematics
School Learning
Class 11
RD Sharma Solutions
RD Sharma Class-11
Count subarrays made up of elements having exactly K set bits
Given an array arr[] consisting of N integers and an integer K, the task is to count the number of subarrays possible consisting of elements having exactly K set bits.Exam...
Read More
Arrays
Bit Magic
setBitCount
subarray
DSA
GATE | GATE CS 2021 | Set 1 | Question 6
We have 2 rectangular sheets of paper, M and N, of dimensions 6 cm × 1 cm each. Sheet M is rolled to form an open cylinder by bringing the short edges of the sheet togethe...
Read More
GATE
GATE | GATE CS 2021 | Set 1 | Question 5
___________ is to surgery as writer is to ___________Which one of the following options maintains a similar logical relation in the above sentence?(A) Plan, outline(B) Hos...
Read More
GATE
GATE | GATE CS 2021 | Set 1 | Question 4
A circular sheet of paper is folded along the lines in the direction shown. The paper, after being punched in the final folded state as shown and unfolded in the reverse o...
Read More
GATE
Count arrays having at least K elements exceeding XOR of all given array elements by X given operations
Given an array arr[] of size N, the task is to count the number of arrays having at least K elements greater than the XOR of all array elements, generated by performing th...
Read More
Arrays
Backtracking
Sorting
Mathematical
Technical Scripter
Bitwise-XOR
Technical Scripter 2020
DSA
GATE | GATE CS 2021 | Set 1 | Question 3
Consider the following sentences:(i) Everybody in the class is prepared for the exam.(ii) Babu invited Danish to his home because he enjoys playing chess.Which of the foll...
Read More
GATE
Queries to count subarrays consisting of given integer as the last element
Given an array arr[] and an array query[] consisting of Q queries, the task for every ith query is to count the number of subarrays having query[i] as the last element.Not...
Read More
Arrays
Hash
Technical Scripter
subarray
array-range-queries
frequency-counting
Technical Scripter 2020
DSA
Check if a number can be represented as sum of two positive perfect cubes
Given an integer N, the task is to check if N can be represented as the sum of two positive perfect cubes or not.Examples:Input: N = 28Output: YesExplanation:Since, 28 = 2...
Read More
Mathematical
Hash
C++
maths-perfect-cube
DSA
GATE | GATE CS 2021 | Set 1 | Question 2
A polygon is convex if, for every pair of points, P and Q belonging to the polygon, the line segment PQ lies completely inside or on the polygon.Which one of the following...
Read More
GATE
GATE | GATE CS 2021 | Set 1 | Question 1
The ratio of boys to girls in a class is 7 to 3.Among the options below, an acceptable value for the total number of students in the class is:(A) 21(B) 37(C) 50(D) 73 Answ...
Read More
GATE
Class 9 RD Sharma Solutions - Chapter 24 Measures of Central Tendency - Exercise 24.1 | Set 1
Question 1. If the heights of 5 persons are 140 cm, 150 cm, 152 cm, 158 cm and 161 cm respectively. Find the mean height.Solution:Given: The heights of 5 persons are 140 c...
Read More
Picked
Mathematics
School Learning
Class 9
RD Sharma Solutions
RD Sharma Class-9
Class 9 RD Sharma Solutions - Chapter 24 Measures of Central Tendency - Exercise 24.1 | Set 2
Question 13. The traffic police recorded the speed (in km/hr) of 10 motorists as 47, 53, 49, 60, 39, 42, 55, 57, 52, 48. Later on an error in recording instrument was foun...
Read More
Mathematics
School Learning
Class 9
RD Sharma Solutions
RD Sharma Class-9
1
...
6325
6326
6327
...
11245