Skip to content
Official PYQ · 2000

GATE CS 2000 Q1.2 — Arrays, Stacks and Queues

Explain with AI

An n×nn \times n array vv is defined as follows:

v[i,j]=i−jv\left[i,j\right] = i - j for all i,j,i≤n,1≤j≤ni, j, i \leq n, 1 \leq j \leq n

The sum of the elements of the array vv is

Choose one option
View answer

Answer: A

Worked explanation not available yet.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Arrays, Stacks and Queues questions