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
Class 12 RD Sharma Solutions - Chapter 31 Probability - Exercise 31.4 | Set 1
Question 1(i). A coin is tossed thrice and all the eight outcomes are equally likely. State whether events A and B are independent if, A = The first throw result in head, ...
Read More
Technical Scripter
Picked
Mathematics
School Learning
Class 12
Technical Scripter 2020
RD Sharma Solutions
RD Sharma Class-12
Class 12 RD Sharma Solutions - Chapter 31 Probability - Exercise 31.4 | Set 2
Question 13. An unbiased die is tossed twice. Find the probability of getting 4, 5, or 6 on the first toss and 1, 2, 3, or 4 on the second toss.Solution:According to quest...
Read More
Mathematical
Technical Scripter
Mathematics
School Learning
Class 12
RD Sharma Solutions
RD Sharma Class-12
DSA
Minimum number of swaps required such that a given substring consists of exactly K 1s
Given a binary string S of size N and three positive integers L, R, and K, the task is to find the minimum number of swaps required to such that the substring {S[L], .. S[...
Read More
Strings
Mathematical
Competitive Programming
binary-string
frequency-counting
substring
DSA
Count of pairs having even and odd LCM from an array
Given an array arr[] of size N, the task is to count the number of pairs having even LCM and odd LCM.Examples:Input: arr[] = {3, 6, 5, 4}Output: Even = 5, Odd = 1Explanati...
Read More
Arrays
Greedy
Pattern Searching
Mathematical
LCM
DSA
Minimize segments required to be removed such that at least one segment intersects with all remaining segments
Given an array arr[] consisting of N pairs [L, R], where L and R denotes the start and end indices of a segment, the task is to find the minimum number of segments that mu...
Read More
Arrays
Binary Search
Algorithms
Pattern Searching
Searching
Sorting
Technical Scripter
Competitive Programming
Technical Scripter 2020
DSA
Check for each subarray whether it consists of all natural numbers up to its length or not
Given an array, arr[] representing a permutation of first N natural numbers in the range [1, N], the task for each ith index is to check if an i-length subarray exists or ...
Read More
Arrays
Mathematical
Hash
Competitive Programming
subarray
Java-HashMap
DSA
Check if K '0's can be flipped such that Binary String contains no pair of adjacent '1's
Given a binary string S of length N and an integer K, the task is to check if it is possible to flip K 0s such that the resulting string does not contain any pair of adjac...
Read More
Strings
Searching
binary-string
DSA
Check if a pair of integers A and B can coincide by shifting them by distances arr[(A%N +N)%N] and arr[(B%N +N)%N]
Given an array arr[] of size N, the task is to check if any two integers A and B coincide at a single point on the number line after shifting them by a distance arr[(A%N +...
Read More
Arrays
Mathematical
Hash
cpp-unordered_map
DSA
Class 11 RD Sharma Solutions - Chapter 23 The Straight Lines- Exercise 23.14
Question 1: Find the values of α so that the point P(α2, α) lies inside or on the triangle formed by the lines x – 5y + 6 = 0, x – 3y + 2 = 0 and x – 2y – 3 = 0.Solution:L...
Read More
Picked
Mathematics
School Learning
Class 11
RD Sharma Solutions
RD Sharma Class-11
Maximize matrix sum by repeatedly multiplying pairs of adjacent elements with -1
Given a matrix A[][] of dimensions M × N, the task is to find the maximum sum possible from a matrix by repeatedly selecting two adjacent matrix elements and multiplying b...
Read More
Greedy
Mathematical
Matrix
array-rearrange
C++
DSA
Maximum and minimum sum of Bitwise XOR of pairs from an array
Given an array arr[] of size N, the task is to find the maximum and minimum sum of Bitwise XOR of all pairs from an array by splitting the array into N / 2 pairs.Examples:...
Read More
Arrays
Linked List
Bit Magic
Java
Sorting
Mathematical
Hash
Combinatorial
Competitive Programming
Experienced
Bitwise-XOR
Data Structures
cpp-unordered_map
DSA
Experiences
Value required to be added to N to obtain the sum of first M multiples of K
Given three positive integers N, K, and M, the task is to find the number to be added to N to obtain the sum of first M multiples of K.Examples:Input: N = 17, K = 3, M = 4...
Read More
Greedy
Mathematical
Technical Scripter
Natural Numbers
DSA
Complexity Metrics
The productivity, if measured only in terms of lines of code per unit of time, can vary a lot depending on the complexity of the system to be developed. A programmer will ...
Read More
Combinatorial
Project
Technical Scripter
Software Engineering
Technical Scripter 2020
DSA
Swipe to Delete and Undo in Android RecyclerView
We have seen many apps having a RecyclerView present in them and along with that, we have seen many functionalities in that RecyclerView for swipe to delete and many more....
Read More
Java
android 1
Technical Scripter
Picked
Android
Technical Scripter 2020
How to Add Fingerprint Authentication in Your Android App?
Now a day, we have seen that most of our Android phone contains fingerprint authentication. And we can implement that fingerprint authentication in our app so to secure ou...
Read More
Java
android 1
Technical Scripter
Picked
Android
Technical Scripter 2020
1
...
6520
6521
6522
...
11375