C Programming | Arrays | CS GATE PYQs | GATE 2019 Solutions | Solutions Adda | Q28 | GATE 2022

preview_player
Показать описание
GATE 2018 Q: Let G be a graph with 100! vertices, with each vertex labeled by a distinct permutation of the numbers 1, 2, …, 100. There is an edge between vertices u and v if and only if the label of u can be obtained by swapping two adjacent numbers in the label of v. Let y denote the degree of a vertex in G, and z denote the number of connected components in G.
Then, y + 10z = ___________.

GATE Previous Year Questions with detailed explanation question by question

For GATE, BARC, ISRO, CIL, AAI, HAL, UGC NET JRF, NIC NIELIT, STQC NIELIT, NVS, KVS, DSSSB PGT/TGT

Рекомендации по теме