×
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 if N is divisible by a number which is composed of the digits from the set {A, B} in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 19-Jan-2021 09:44:26
Suppose we have a number n. We have another two numbers a and b. We have to check whether we can generate a number using a and b that divides n.So, if the input is like n = 115, a = 3, b = 2, then the output will be ...
Read More
Check if N is a Factorial Prime in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 19-Jan-2021 09:43:09
Suppose we have a number n, we have to check whether n is a Factorial prime or not. As we know a number is said to be a factorial prime when it is a prime number that is one less than or one more than a factorial of any number.So, ...
Read More
Check if N can be represented as sum of integers chosen from set {A, B} in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 19-Jan-2021 09:39:07
Suppose we have a number target. We have another two numbers A and B. We have to check whether we can get target by adding A and B as many times as we want.So, if the input is like Target = 26 A = 5 B = 7, then the ...
Read More
Check if moves in a stack or queue are possible or nots in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 19-Jan-2021 09:37:42
Suppose we have one binary list, where 1 denotes push operation and 0 denotes a pop operation on a stack or a queue. We have to check whether the possible set of operations are valid or not.So, if the input is like nums = [1, 0, 1, 1, 0, 1], ...
Read More
Check if mirror image of a number is same if displayed in seven segment displays in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 19-Jan-2021 09:36:28
Suppose we have a number n. We have to check whether the mirror image of the number is same as the given number or not when it is displayed on Seven Segment display.So, if the input is like n = 818, then the output will be True.the mirror image is ...
Read More
Check if max occurring character of one string appears same no. of times in other in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 19-Jan-2021 09:31:06
Suppose we have two strings s and t, we have to select the most frequent character from s and then we have to check whether that particular character is present in t same number of times or not.So, if the input is like s = "crosssection", t = "securesystem", then ...
Read More
Check if Matrix remains unchanged after row reversals in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 19-Jan-2021 09:29:11
Suppose we have a square matrix. We have to check whether the matrix remains same after performing row reversal operations on each row, or not.So, if the input is like686282333then the output will be TrueTo solve this, we will follow these steps −n := row count of matrixfor i in ...
Read More
Check if matrix can be converted to another matrix by transposing square sub-matrices in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 19-Jan-2021 09:26:04
Suppose we have two N X M called mat1 and mat2. In an operation, we can transpose any square sub-matrix in mat1. We have to check whether we can get mat2 from mat1 or not by performing given operation.So, if the input is like567123689562173689then the output will be True, because ...
Read More
Check if matrix A can be converted to B by changing parity of corner elements of any submatrix in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 19-Jan-2021 09:21:26
Suppose we have two N X M binary matrices A and B. In a single operation, we can select a sub-matrix (at least 2x2) and convert the parity of the corner elements (flip bits). Finally, we have to check whether the matrix A can be converted to B by performing ...
Read More
Check if lowercase and uppercase characters are in same order in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 19-Jan-2021 09:18:21
Suppose we have a string s with only lowercase or uppercase letters not numbers. We have to check whether both lowercase and uppercase letters follow the same order respectively or not. So, if a letter occurs more than once in lowercase then the occurrence of the same character in the ...
Read More
Previous
1
2
3
4
5
6
7
...
330
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout