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
Queries to find the maximum array element after removing elements from a given range
Given an array arr[] and an array Q[][] consisting of queries of the form of {L, R}, the task for each query is to find the maximum array element after removing array elem...
Read More
Arrays
Searching
Technical Scripter
array-range-queries
prefix
Suffix
Technical Scripter 2020
DSA
Queries to find first occurrence of a character in a given range
Given a string S of length N and an array Q[][] of dimension M × 3 consisting of queries of type {L, R, C}, the task is to print the first index of the character C in the ...
Read More
Strings
Binary Search
Algorithms
Searching
Technical Scripter
Technical Scripter 2020
DSA
AU Full Form
AU is an audio brief, a standard audio format for UNIX sound files. The AU file format is the standard Java programming language audio file format which was first created ...
Read More
computer-graphics
Picked
Full Form
Mathematics | Beta Distribution Model
Introduction :Suppose an event can occur several times within a given unit of time. When the total number of occurrences of the event is unknown, we can think of it as a r...
Read More
Probability
Engineering Mathematics
Technical Scripter 2020
Count integers up to N which can be represented as sum of two or more consecutive numbers
Given a positive integer N, the task is to count the number of integers upto N which can be represented as the sum of two or more consecutive numbers.Examples:Input: N = 7...
Read More
Mathematical
Technical Scripter
maths-power
Technical Scripter 2020
DSA
Expression for mean and variance in a running stream
Let we have a running stream of numbers as x1,x2,x3,...,xn.The formula for calculating mean and variance at any given point is given as :Mean = E(x) = u = 1/n ∑i=1n xiStan...
Read More
Mathematical
Engineering Mathematics
DSA
Architectural Genres by Grady Booch
Architectural Genre is used to define the architectural approach for the build of any structure. Considering the software programming areas, the architectural designs poin...
Read More
Software Engineering
I2C Communication Protocol
I2C stands for Inter-Integrated Circuit. It is a bus interface connection protocol incorporated into devices for serial communication. It was originally designed by Philip...
Read More
Computer Organization & Architecture
Class 8 RD Sharma Solutions - Chapter 8 Division Of Algebraic Expressions - Exercise 8.5
Question 1: Divide the first polynomial by the second polynomial in each of the following. Also, write the quotient and remainder:(i) 3x2 + 4x + 5, x – 2Solution:3x2 + 4x ...
Read More
Technical Scripter
Picked
Mathematics
School Learning
Class 8
RD Sharma Solutions
RD Sharma Class-8
Maximize sum of count of distinct prime factors of K array elements
Given an array arr[] of size N, the task is to find the maximum sum possible of the count of distinct prime factors of K array elements.Examples:Input: arr[] = {6, 9, 12},...
Read More
Arrays
Greedy
Mathematical
sieve
prime-factor
Prime Number
DSA
Generate an N-length array having equal count and sum of elements of both parities
Given an integer N (3 ≤ N ≤ 105), the task is to generate an array of N distinct positive elements such that the count and sum of elements of both parties i.e even and odd...
Read More
Greedy
Mathematical
DSA
Find the last remaining element after repeated removal of an element from pairs of increasing adjacent array elements
Given an array arr[] consisting of N integers, the task is to print the last remaining array element after repeatedly selecting pairs of increasing adjacent elements (arr[...
Read More
Arrays
Stack
Greedy
Pattern Searching
Mathematical
array-rearrange
Data Structures
DSA
Maximize difference between odd and even indexed array elements by shift operations
Given an array arr[] of size N, the task is to maximize the absolute difference between the sum of even indexed elements and the sum of odd indexed elements by left shift ...
Read More
Arrays
Greedy
Mathematical
array-rearrange
DSA
Print all submasks of a given mask
Given an integer N, the task is to print all the subsets of the set formed by the set bits present in the binary representation of N.Examples:Input: N = 5Output: 5 4 1Expl...
Read More
Bit Magic
Mathematical
Bit Algorithms
Bitwise-AND
DSA
Priority Queue using array in C++
Priority Queue is an extension of the Queue data structure where each element has a particular priority associated with it. It is based on the priority value, the elements...
Read More
Queue
Searching
Technical Scripter
C Programs
priority-queue
Technical Scripter 2020
DSA
1
...
6479
6480
6481
...
11307