×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Login
Packages
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
Login
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
Arnab Chakraborty
has Published
3296
Answers
Check whether the number can be made perfect square after adding 1 in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 16-Jan-2021 09:28:32
Suppose we have a number n. We have to check whether the number can be a perfect square number by adding 1 with it or not.So, if the input is like n = 288, then the output will be True as after adding 1, it becomes 289 which is same ...
Read More
Check whether the length of given linked list is Even or Odd in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 16-Jan-2021 09:27:08
Suppose we have a linked list, we have to check whether the length of it is odd or even.So, if the input is like head = [5, 8, 7, 4, 3, 6, 4, 5, 8], then the output will be Odd.To solve this, we will follow these steps −while head ...
Read More
Check whether the given string is a valid identifier in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 16-Jan-2021 09:26:34
Suppose we have a string representing an identifier. We have to check whether it is valid or not. There are few criteria based on which we can determine whether it is valid or not.It must start with underscore '_' or any uppercase or lowercase lettersIt does not contain any whitespaceAll ...
Read More
Check whether the given numbers are Cousin prime or not in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 16-Jan-2021 09:25:30
Suppose we have a pair of integers. We have to check whether they are cousin primes or not. Two numbers are said to be cousin primes when both are primes and differ by 4.So, if the input is like pair = (19, 23), then the output will be True as ...
Read More
Check whether the given number is Wagstaff prime or not in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 16-Jan-2021 09:23:55
Suppose we have a number n. We have to check whether n is Wagstaff prime or not. As we know Wagstaff prime is a prime number which is in the following form.where q is an odd prime number.So, if the input is like n = 683, then the output will ...
Read More
Check whether the given number is Euclid Number or not in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 16-Jan-2021 09:22:49
Suppose we have a number n. We have to check whether n is Euclid number or not. As we know Euclid numbers are integer which can be represented as n= Pn+1where is product of first n prime numbers.So, if the input is like n = 211, then the output will be ...
Read More
Check whether the frequencies of all the characters in a string are prime or not in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 16-Jan-2021 09:21:17
Suppose we have a string s. We have to check whether the occurrences of each character in s is prime or notSo, if the input is like s = "apuuppa", then the output will be True as there are two 'a's, three 'p's and two 'u's.To solve this, we will ...
Read More
Check whether the bit at given position is set or unset in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 16-Jan-2021 09:19:46
Suppose we have a number n and another value k. We have to check whether the kth bit in n is set (1) or unset (0). The value of k is considered from right hand side.So, if the input is like n = 18 k = 2, then the output ...
Read More
Check whether the Average Character of the String is present or not in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 16-Jan-2021 09:19:09
Suppose we have a string s that contains alphanumeric characters, we have to check whether the average character of the string is present or not, if yes then return that character. Here the average character can be found by taking floor of average of each character ASCII values in s.So, ...
Read More
Check whether sum of digits at odd places of a number is divisible by K in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 16-Jan-2021 09:18:35
Suppose we have a number n and another number k, we have to check whether the sum of digits of n at it's odd places (from right side to left side) is divisible by k or not.So, if the input is like n = 2416 k = 5, then the ...
Read More
Previous
1
...
6
7
8
9
10
11
12
...
330
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout