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
Android
Python
C Programming
C++
C#
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
Arnab Chakraborty
has Published
511
Answers
Check if a number is divisible by all prime divisors of another number in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 22-Oct-2019 15:13:57
Suppose there are two numbers. We have to check whether a number is divisible by all of the prime factors or the second number or not. Suppose a number is 120. The prime factors are {2, 3, 5}, another number is 75, here the prime factors are {3, 5}. As ...
Read More
Check if a number is Bleak in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 22-Oct-2019 15:11:28
Here we will see whether a number is Bleak or not. A number is said to be bleak if it cannot be represented as sum of a positive number x and set bit count in x. So x + set_bit_count(x) is not equal to n , for any non-negative number ...
Read More
Check if a number is an Unusual Number or not in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 22-Oct-2019 15:09:28
Here we will see a number is unusual number or not. A number is said to be unusual if the greatest prime factor of the number is strictly greater than square root of the number. Some of the unusual numbers are: 2, 3, 5, 6, 7, 10, 11, 13, 14, ...
Read More
Check if a Linked List is Pairwise Sorted in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 22-Oct-2019 15:01:45
We have a list L, with n elements. We have to check whether the list is pairwise sorted or not. Suppose the list is like {8, 10, 18, 20, 5, 15}. This is pairwise sorted as (8, 10), (18, 20), (5, 15) are sorted. If the list has odd number ...
Read More
Check if a linked list is Circular Linked List in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 22-Oct-2019 14:56:41
Here we will see, hoe to check a linked list is circular linked list or not. To check whether the linked list is circular or not, we will store the header node into some other variable, then traverse the list, if we get null at the next part of any ...
Read More
Check if a large number is divisible by 13 or not in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 22-Oct-2019 14:53:23
Here we will see how to check a number is divisible by 13 or not. In this case the number is very large number. So we put the number as string.A number will be divisible by 13, if the number satisfies the following situations −A number is divisible by 13 ...
Read More
Check if a large number can be divided into two or more segments of equal sum in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 22-Oct-2019 14:49:07
Here we will see a program, that can check whether a number can be divided into more than one segments with equal sum. Suppose a number is like 74325, then this can be segmented into three parts (7), (4, 3), (2, 5), all are of same um value.We have to ...
Read More
Check if a given number is Pronic in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 22-Oct-2019 14:45:54
Here we will see, how to check whether a number is Pronic number or not. A number that can be arranged to form a rectangle, are called the pronic numbers. First few pronic numbers are: 0, 2, 6, 12, 20, 30, 42, 56, 72, 90, 110, 132, 156, 182, 210, ...
Read More
Check if a given number divides the sum of the factorials of its digits in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 22-Oct-2019 14:44:20
Suppose, we have an integer, we have to find if the number divides the sum of the factorial of its digits. Suppose a number is 19, the sum of factorial of digits is (1! + 9!) = 362881, this is divisible by 19.To solve this, we will take the number, ...
Read More
Check if a given number can be represented in given a no. of digits in any base in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 22-Oct-2019 14:40:21
Suppose we have a number n, and number of digits d. We have to check whether the number n can be represented as d digit number in any base from 2 to 32. Suppose the number n is 8, and d = 4, then this can be represented as 1000 ...
Read More
1
2
3
4
5
6
7
...
52
Next
Advertisements