Courses
Tutorials
Practice
Jobs
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Practice Questions on Linear Equations
A linear equation is an equation in which each variable has a power of 1 and the graph of the equation is a straight line.Solved ExamplesExample 1: Solve 2x = 3(x + 4)Sol...
Read More
Mathematics
Maths
Linear Equations
linear algebra
Linear Algebra Practice Problems
Linear algebra is the branch of mathematics that studies vectors, matrices, and linear equations. It provides the mathematical tools to solve systems of equations and desc...
Read More
Mathematics
Maths
linear algebra
Ancestor Queries on a Tree
Given a tree with n nodes numbered from 0 to n - 1, rooted at node 0 and an array arr[], where arr[i] represents the parent of node i. For the root node, arr[0] = -1.Also ...
Read More
DSA
Graphing Functions Practice Problems
Graphing functions means drawing the graph of a mathematical function on the coordinate plane to show the relationship between the input values (x-values) and the output v...
Read More
Mathematics
Maths
Zeros Count in Sorted Binary
Given an array arr[] of only 0's and 1's. The array is sorted in descending order. Find the count of all the 0's.Examples:Input: arr[] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, ...
Read More
DSA
Min Edge Movements to Connect a Graph
Given a graph with n vertices (0 to n-1) and m edges. You can remove one edge from anywhere and add that edge between any two vertices in one operation.Find the minimum nu...
Read More
DSA
Direct and Indirect Proportion Practice Questions
Direct and inverse proportions are mathematical concepts used to describe the relationship between two variables.Direct Proportions:Problem 1: A vertical pole of 10 m heig...
Read More
Mathematics
math
Maximum GCD of K Partition Sums
Given an array arr[] and an integer k, partition the array into exactly k non-empty contiguous subarrays such that the GCD of their sums is maximized. Return the maximum p...
Read More
DSA
The Spider Steps
Given three integers h, u, and d, representing the height of a well, the distance a spider climbs in each step, and the distance it slips after each step, respectively.In ...
Read More
DSA
Number that are not divisible by any number from 2 to 10
Given a positive integer n, how many integers in the range [1, n] are not divisible by any of the numbers from 2 to 10.Examples:Input: n = 11Output: 2Explanation: The numb...
Read More
DSA
Least Square Method Practice Questions
The Least Squares Method is a mathematical technique used to find the best-fitting curve or line through a set of data points by minimizing the sum of the squares of the d...
Read More
Mathematics
Maths
Statistics
Assign Short Codes in Stream of Words
A railway department is renaming several cities, and the corresponding railway station codes must also be updated.Given an array cities[] containing the names of n cities ...
Read More
DSA
Trie
cpp-vector
Data Structures
strings
Permutation Divisibility by 4
You are given a number. Your task is to check if there exists a permutation of the digits of this number which is divisible by 4. Examples:Input: 003 Output: trueExplanat...
Read More
DSA
First n Kaprekar Numbers
Given an integer n, return the first n Kaprekar numbers. A Kaprekar number is a positive integer k such that when k² is split into two parts, where the right part contains...
Read More
DSA
Final Amount using Compound Interest
Given four integers p, r, t, and n representing the principal amount, annual interest rate (in percentage), time period (in years), and the number of compounding periods p...
Read More
DSA
1
2
3
4
...
12157