Harsh Raj
Harsh Raj
### Description Write a program to move all zeroes to end of array ```txt Input : arr[] = {1, 2, 0, 4, 3, 0, 5, 0}; Output : arr[] =...
### Description Write a Java program to find the largest two elements in an array ```text Input: arr[] = {12, 13, 1, 10, 34, 1} Output: The largest two elements...
### Description Write a program to cylindrically rotate a matrix by 90 degrees ``` Input : 1 2 3 4 5 6 7 8 9 Output : 7 4 1...
### Description Write a program to find sum of digits of a positive number Suppose you have a number `n` and you want to find the sum of its digits....
### Description Write a program to find power of a number by recursion Power of a number is calculated by multiplying the number by itself for the given number of...
### Description Write a program to find the trace of a matrix The trace of a square matrix is the sum of the elements on the main diagonal (from the...
### Description Write a program to convert octal to decimal Octal is a base-8 number system. It uses only eight digits: 0, 1, 2, 3, 4, 5, 6, and 7....
### Description Write a program to convert octal to binary Octal is a base-8 number system. It uses only eight digits: 0, 1, 2, 3, 4, 5, 6, and 7....
### Description Write a program to convert hexadecimal to octal Hexadecimal is a base-16 number system. It uses sixteen digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,...
### Description Write a Kotlin program to find the inverse of a The inverse of a square matrix A is another square matrix B such that the product of A...