Input | Output |
---|---|
What kind of matrix traversal is <image 1>? (A) Normal traversal of the matrix. (B) Row-wise traversal of the matrix. (C) Column-wise traversal of the matrix. (D) spiral traversal of the matrix. Answer with the option's letter from the given choices directly. No punctuation. | (6) The matrix traversal that uses a spiral pattern, spiraling upwards and covering a maximum number of elements per row or column is: (D) spiral traversal of the matrix. The spiral pattern covers a greater number of elements per row or column as compared to the other traversation methods. Expected Answer: D Difficulty: Easy Subfield: Data Structure and Algorithm |
What kind of matrix traversal is <image 1>? (A) Normal traversal of the matrix. (B) Row-wise traversal of the matrix. (C) Column-wise traversal of the matrix. (D) spiral traversal of the matrix. Answer with the option's letter from the given choices directly. No punctuation. | D Expected Answer: D Difficulty: Easy Subfield: Data Structure and Algorithm |
Rows per page