Computer Science, asked by schavan6161gmailcom, 1 year ago

algorithm of matrix rotation program​

Answers

Answered by archana2025
1

Answer:

Problem statement – Given an array of N rows and N columns (square matrix), rotate the matrix by 90° in clockwise direction. Solution – This is an implementation based problem, which means that when asked in an interview, the interviewer is mainly testing your skill to write a program which follows some set of rules.

Answered by nikhil11111111111122
0

Explanation:

To prove whether a number is a prime number, first try dividing it by 2, and see if you get a whole number. If you do, it can't be a prime number. If you don't get a whole number, next try dividing it by prime numbers: 3, 5, 7, 11 (9 is divisible by 3) and so on, always dividing by a prime number (see table below).

Similar questions