- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Narendra Kumar has Published 196 Articles
![Narendra Kumar](https://www.tutorialspoint.com/articles/images/user_icon.png)
Narendra Kumar
51 Views
In this problem, we are given an array of N elements. Our task is to find the maximum removal from the array when removal time >= waiting time.So, here we will be removing the elements of the array. The value of the element of the array denotes the removal time(time ... Read More
![Narendra Kumar](https://www.tutorialspoint.com/articles/images/user_icon.png)
Narendra Kumar
178 Views
In this problem, we are given a string that denotes a large number and an integer k roar denotes the number of breakpoints. Our task is to create a program that will find the maximum segment value after putting L breakpoints in a number.Here, we have to find the maximum ... Read More
![Narendra Kumar](https://www.tutorialspoint.com/articles/images/user_icon.png)
Narendra Kumar
85 Views
In this problem, we are given a binary tree. Our task is to create a program that will find the maximum spiral sum in a binary tree in C++.Spiral sum of a binary tree is the sum of nodes that are encountered in the spiral traversal of the binary tree.In the ... Read More
![Narendra Kumar](https://www.tutorialspoint.com/articles/images/user_icon.png)
Narendra Kumar
82 Views
In this problem, we are given an integer X. Our task is to find the total number of steps that are taken to transform from 0 to X.Valid transformation − One step is counted when one transformation takes place from A to B. The condition for the transform to take ... Read More
![Narendra Kumar](https://www.tutorialspoint.com/articles/images/user_icon.png)
Narendra Kumar
155 Views
In this problem, we are given an array. Our task is to create a program that will find the maximum subarray sum after inverting at most two elements in C++.Problem description − Here, we can have to find the subarray that will produce the maximum sum on inverting the sign ... Read More
![Narendra Kumar](https://www.tutorialspoint.com/articles/images/user_icon.png)
Narendra Kumar
322 Views
In this problem, we are given an array and an integer k. Our task is to create a program that will find the maximum subarray sum by flipping signs of at most k array elements in C++.Code description − Here, we will have to find at most k elements to ... Read More
![Narendra Kumar](https://www.tutorialspoint.com/articles/images/user_icon.png)
Narendra Kumar
155 Views
In this problem, we are given an array and a number k. Our task is to create a program that will find the maximum subarray sum in an array formed by repeating the given array k time in c++.Problem description − Here, we will find the maximum sum of the ... Read More
![Narendra Kumar](https://www.tutorialspoint.com/articles/images/user_icon.png)
Narendra Kumar
307 Views
In this problem, we are given an array of size n and an integer m. our task is to create a program that will find the maximum subarray sum modulo m in C++.Program description − Here, we will find the maximum value obtained by dividing the sum of all elements ... Read More
![Narendra Kumar](https://www.tutorialspoint.com/articles/images/user_icon.png)
Narendra Kumar
77 Views
In this problem, we are given an integer N. Our task is to create a program that will find the maximum sum after repeatedly dividing N by a divisor in C++.Program description − we will divide the number N recursively until it becomes one and then sum up all the ... Read More
![Narendra Kumar](https://www.tutorialspoint.com/articles/images/user_icon.png)
Narendra Kumar
369 Views
In this problem, we are given a matrix. Our task is to create a program that finds the maximum sum of the hourglass in a matrix in C++.Program description − Here, we will find the maximum sum of all hourglasses that can be created for the given matrix elements.Hour glass ... Read More