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
Practice Questions Class 10 Chapter 8 Introduction To Trigonometry
Question1. Evaluate:(i) sin 18° / cos 72°Solution:Since,cos 72° = cos ( 90° - 18° ) = sin 18°Therefore,sin 18° / cos 72° = sin 18° / sin 18° = 1Hence, sin 18° / cos 72° = ...
Read More
Picked
Mathematics
School Learning
NCERT
Class 10
NCERT Solutions Class-10
Risk Breakdown Structure (RBS)
Risk is a condition that can sidetrack a project if a project manager didn't plan for it. For example, a project team plans that certain work needs to be done by its emplo...
Read More
Computer Subject
Software Engineering
Technical Scripter 2020
Class 8 NCERT Solutions- Chapter 10 Visualising Solid Shapes - Exercise 10.2
Question 1. Look at the given map of a cityAnswer the following.(a) Colour the map as follows: Blue-water, red-fire station, orange-library, yellow- schools, Green - park,...
Read More
Picked
Mathematics
School Learning
NCERT
Class 8
NCERT Solutions Class-8
Modify array by replacing every array element with minimum possible value of arr[j] + |j - i|
Given an array arr[] of size N, the task is to find a value for each index such that the value at index i is arr[j] + |j - i| where 1 ? j ? N, the task is to find the mini...
Read More
Arrays
Dynamic Programming
Mathematical
array-rearrange
prefix-sum
DSA
Difference between Pascaline calculator and Leibniz calculator
1. LEIBNIZ CALCULATOR :The Leibniz calculator is also called as Leibniz wheel or stepped drum. It is a type of cylinder which is there in the form of a set of teeth of inc...
Read More
Computer Organization & Architecture
Difference Between
DATEDIFF() Function in SQL Server
DATEDIFF() function in SQL Server is used to find the difference between the two specified dates or times.Features This function is used to find the difference between the...
Read More
SQL
DBMS-SQL
SQL-Server
Program to construct a DFA which accepts the language L = {a<sup>N</sup> | N ≥ 1}
Prerequisite: Finite AutomataGiven a string S of size N, the task is to design a Deterministic Finite Automata (DFA) for accepting the language L = {aN | N ? 1}. The regul...
Read More
Strings
Theory of Computation
DSA
Check if a given string can be converted to a Balanced Bracket Sequence
Given a string S of size N consisting of '(', ')', and '$', the task is to check whether the given string can be converted into a balanced bracket sequence by replacing ev...
Read More
Strings
Stack
Algorithms
interview-preparation
Data Structures
cpp-stack-functions
DSA
Count subarrays consisting of first K natural numbers in descending order
Given an array arr[] of size N and an integer K, the task is to count the number of subarrays which consists of first K natural numbers in descending order.Examples:Input:...
Read More
Arrays
Searching
Technical Scripter
subarray
sliding-window
two-pointer-algorithm
Technical Scripter 2020
DSA
Smallest number not less than N which is divisible by all digits of N
Given a positive integer N, the task is to find the smallest integer greater than or equal to X, having all its digits divisible by the non-zero digits of N.Examples:Input...
Read More
Searching
Mathematical
number-digits
LCM
DSA
Count numbers from a given range that are not divisible by any of the array elements
Given an array arr[] consisting of N positive integers and integers L and R, the task is to find the count of numbers in the range [L, R] which are not divisible by any of...
Read More
Arrays
Misc
Searching
Mathematical
sieve
Prime Number
divisibility
DSA
Maximize palindromic strings of length 3 possible from given count of alphabets
Given an array arr[] of size 26, representing frequencies of character 'a' to 'z', the task is to find the maximum number of palindromic strings of length 3 that can be ge...
Read More
Arrays
Strings
Combinatorial
palindrome
Permutation and Combination
DSA
Minimum row or column swaps required to make every pair of adjacent cell of a Binary Matrix distinct
Given a binary matrix M[][] of dimensions N x N, the task is to make every pair of adjacent cells in the same row or column of the given matrix distinct by swapping the mi...
Read More
Bit Magic
Mathematical
Matrix
Bitwise-XOR
array-rearrange
DSA
Minimum sum of two integers whose product is strictly greater than N
Given an integer N, the task is to find two integers with minimum possible sum such that their product is strictly greater than N.Examples:Input: N = 10Output: 7Explanatio...
Read More
Binary Search
Greedy
Searching
Mathematical
DSA
Sum of Bitwise AND of each array element with the elements of another array
Given two arrays arr1[] of size M and arr2[] of size N, the task is to find the sum of bitwise AND of each element of arr1[] with the elements of the array arr2[].Examples...
Read More
Arrays
Bit Magic
setBitCount
Hash
prefix
frequency-counting
Bitwise-AND
DSA
1
...
6609
6610
6611
...
11268