×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Selected Reading
UPSC IAS Exams Notes
Developer's Best Practices
Questions and Answers
Effective Resume Writing
HR Interview Questions
Computer Glossary
Who is Who
Hafeezul Kareem
has Published
387
Answers
Number of pairs with maximum sum in C++
C++
Server Side Programming
Programming
Hafeezul Kareem
Published on 03-Jul-2021 08:33:33
In this tutorial, we are going to write a program that finds the count of pairs with maximum sum.Let's see the steps to solve the problem.Iterate over the array with two loops.Find the maximum sum of pairs.Now, iterate over the array again and count the matching pairs.Return the pairs count.ExampleLet's ...
Read More
Number of pairs with Bitwise OR as Odd number in C++
C++
Server Side Programming
Programming
Hafeezul Kareem
Published on 03-Jul-2021 08:31:52
In this tutorial, we are going to write a program that counts the number of pairs in the given array whose bitwise OR is an odd number.Let's see the steps to solve the problem.Write two loops to get the pairs of the array.Compute the bitwise OR between every pair.Increment the ...
Read More
Number of pairs whose sum is a power of 2 in C++
C++
Server Side Programming
Programming
Hafeezul Kareem
Published on 03-Jul-2021 08:29:53
In this tutorial, we are going to write a program that counts the number of pairs whose sum is a power of 2.Let's see the steps to solve the problem.Write two loops to get all the pairs of the array.Compute the sum of every pair.Check whether the sum is a ...
Read More
Number of pairs from the first N natural numbers whose sum is divisible by K in C++
C++
Server Side Programming
Programming
Hafeezul Kareem
Published on 03-Jul-2021 08:26:28
In this tutorial, we are going to write a program that counts the pairs whose sum is divisible by K.Let's see the steps to solve the problem.Initialise the N and K.Generate the natural numbers till N and store them in an array.Compute the sum of every pair.If the pair sum ...
Read More
Number of ordered points pair satisfying line equation in C++
C++
Server Side Programming
Programming
Hafeezul Kareem
Published on 03-Jul-2021 08:24:00
In this tutorial, we are going to write a program that counts the order points pair satisfying the line equation.The line equation that should be satisfied is y = mx + c.Let's see the steps to solve the problem.Initialise the array, m, and c.Write two loops to get all ...
Read More
Number of non-negative integral solutions of sum equation in C++
C++
Server Side Programming
Programming
Hafeezul Kareem
Published on 03-Jul-2021 08:21:10
In this tutorial, we are going to write a program that finds the number non-negative integral solution of sum equation.The sum equation is x + y + z = n. You are given the number n, you need to find the number of solution for the equation.Let's see the steps ...
Read More
Number of nodes greater than a given value in n-ary tree in C++
C++
Server Side Programming
Programming
Hafeezul Kareem
Published on 03-Jul-2021 08:19:18
In this tutorial, we are going to write a program that counts the number of nodes whose value is greater than the given number n.Let's see the steps to solve the problem.Initialise the n-ary tree.Initialise the count to 0.Increment the count by 1 when you find a node whose value ...
Read More
Number of NGEs to the right in C++
C++
Server Side Programming
Programming
Hafeezul Kareem
Published on 03-Jul-2021 08:16:54
In this tutorial, we are going to write a program that count the number os NGEs to the right of the given indexed element.You are given an array and the index of the target element. We have to count the number of elements greater than the given element to its ...
Read More
Number of n digit stepping numbers in C++
C++
Server Side Programming
Programming
Hafeezul Kareem
Published on 03-Jul-2021 08:15:20
In this this tutorial, we are going to write a program that counts the number of n digit stepping numbers.The stepping number is a number where the difference between the consecutive digits is 1.You are given a number n representing the number of digits. You need to count the total ...
Read More
Number of moves required to guess a permutation in C++
C++
Server Side Programming
Programming
Hafeezul Kareem
Published on 03-Jul-2021 08:13:03
In this tutorial, we are going to write a program that find the number of moves required to guess a permutation.You are given a number N, you need to find the moves required to guess the permutation in worst case scenario.To guess the ith position, we need n - i ...
Read More
1
2
3
4
5
6
7
...
39
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout