Monday, April 6, 2020

### Multiplication of two matrices

Given two matrices, this function will multiply the two matrices and prints the result. Here, necessary and sufficient condition is the number of columns...

### Subtraction of two matrices

Given two matrices, we will write a function that subtracts the given matrices. Example INPUT A = { {1, 4, 7, 9}, {1, 6, 7, 6}, {6, 3, 7,...

### Multiplication of two matrices

Given two matrices, this function will multiply the two matrices and prints the result. Here, necessary and sufficient condition is the number of columns...

### Subtraction of two matrices

Given two matrices, we will write a function that subtracts the given matrices. Example INPUT A = { {1, 4, 7, 9}, {1, 6, 7, 6}, {6, 3, 7,...

### Check if two given matrices are identical

Given two matrices, we will write a function to check whether the two matrices are identical or not. That is, if all the elements...

Given two matrices, we need to add the two matrices and give new matrix. Example Input : A = { {1, 4, 7, 9}, {1, 6, 7,...

### Transpose of a Matrix

Given two matrices, we need to add the two matrices and give new matrix. Transpose of a matrix :Â  The transpose of a matrix is...

### Check whether strings are k distance apart or not

Given two strings and an integer k, write a function to check whether the given strings are k distance apart or not. That is...

### Program to toggle all characters in a string

Given a string, write a function to toggle all characters of the given string. Here toggle means converting all the uppercase characters to lowercase...

### Check length of a string is equal to the number appended at its last

Given a string that is appended with a number at last, write a function that checks whether the length of the string excluding the...

9,227Fans