A perfect square.
It is an array with the same number of rows and columns.
Yes, you can arrange 60 chairs in a square array, but not in a perfect square since 60 is not a perfect square number. The closest way to arrange them would be in a rectangular formation, such as 6 rows of 10 chairs each or 5 rows of 12 chairs each. However, if you strictly want a square array, you would need to use 49 chairs (7x7) or 64 chairs (8x8) to fit the perfect square requirement.
4th
Yes, if it is described as such.
Yes, a unit array.
A square array is an array in which the number of rows is the same as the number of columns.
It is an array with the same number of rows and columns.
A square array has the same number of columns and rows the array [1] is a square array (a trivial example) the array [1 0] [0 1] is a square array the array [1 0 0 0] [0 1 0 0] [0 0 1 0] [0 0 0 1] is a square array the array [1 0 0 0] [0 1 0 0] [0 0 1 0] is not a square array
2
for example 9 it is a square number beacause 3 multiplied by itself equals 9 and 3 by 3 in an array makes a square not a rectangle
It means indexing into an array. The array could be an array of built in primitive types or array of objects. The index must be a numeric value greater than or equal to 0.
4th
5
The minimum number of swaps required to sort an array is equal to the number of inversions in the array.
the length of the array
Yes, if it is described as such.
length