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
PHP | Classes
Like C++ and Java, PHP also supports object oriented programming Classes are the blueprints of objects. One of the big differences between functions and classes is that...
Read More
Web Technologies
PHP-OOP
PHP
Number of subarrays having sum exactly equal to k
Given an unsorted array of integers, find the number of subarrays having a sum exactly equal to a given number k.Examples:Input : arr[] = {10, 2, -2, -20, 10}, k = -10Outp...
Read More
Arrays
Hash
subarray
cpp-unordered_map
subarray-sum
DSA
MAQ Software Interview Experience | Set 18 (On Campus for FTE)
Round 1:There were 2 sections. First one is an aptitude section which must be completed in 30 minutes. The second section is a coding round with 2 coding questions, a faul...
Read More
Interview Experiences
Experiences
React Importing and Exporting Components
React Importing and Exporting Components are two major operations that enable the re-use of the components to create a collection of components and hence a complete applic...
Read More
Web Technologies
ReactJS
ReactJS-Component
ReactJS Calculator App ( Structure )
In our previous article, we have talked about a Calculator app we are going to develop and also have seen a glimpse of our final project. In this article, we will get our ...
Read More
Project
Web Technologies
ReactJS
Web Development Projects
ReactJS-Projects
PHP | Send Attachment With Email
Sending an email is a very common activity in a web browser. For example, sending an email when a new user joins a network, sending a newsletter, sending greeting mail, or...
Read More
Web Technologies
PHP
Maximum Product Subarray | Added negative product case
Given an array that contains both positive and negative integers, find the product of the maximum product subarray. Expected Time complexity is O(n) and only O(1) extra sp...
Read More
Arrays
Dynamic Programming
DSA
Print equal sum sets of array (Partition problem) | Set 1
Given an array arr[]. Determine whether it is possible to split the array into two sets such that the sum of elements in both the sets is equal. If it is possible, then pr...
Read More
Arrays
Dynamic Programming
DSA
MakeMyTrip Interview Experience | Set 16
Round 1.a1. Min distance between two given nodes of a Binary Tree2. Sort Array in single traversal, Without using any sorting algorithm Sort an array of 0s, 1s and 2s Roun...
Read More
Interview Experiences
Experiences
Squared triangular number (Sum of cubes)
Given a number s (1 = s = 1000000000). If s is sum of the cubes of the first n natural numbers then print n, otherwise print -1.First few Squared triangular number are 1, ...
Read More
Mathematical
series
series-sum
maths-cube
triangular-number
DSA
Print all sequences starting with n and consecutive difference limited to k
Given three positive integer n, s and k. The task is to print all possible sequence of length s, starting with n and the absolute difference between consecutive element is...
Read More
cpp-vector
Recursion
DSA
Square pyramidal number (Sum of Squares)
A Square pyramidal number represents sum of squares of first natural numbers. First few Square pyramidal numbers are 1, 5, 14, 30, 55, 91, 140, 204, 285, 385, 506, ...Geom...
Read More
Mathematical
series
series-sum
DSA
SAR command in Linux to monitor system performance
sar (System Activity Report)It can be used to monitor Linux system's resources like CPU usage, Memory utilization, I/O devices consumption, Network monitoring, Disk usage...
Read More
Misc
Technical Scripter
linux-command
Linux-Unix
Linux-system-commands
Readability Index in Python(NLP)
Readability is the ease with which a reader can understand a written text. In natural language, the readability of text depends on its content (the complexity of its vocab...
Read More
Technical Scripter
Python
python-utility
NLP
AI-ML-DS
Maximum Subarray Sum in a given Range
Given an array of n numbers, the task is to answer the following queries:maximumSubarraySum(start, end) : Find the maximum subarray sum in the range from array index 'star...
Read More
Arrays
Advanced Data Structure
Segment-Tree
subarray
subarray-sum
DSA
1
...
11377
11378
11379
...
11540