GATE 2026 CS1 Question 55 – Algorithms
An undirected, unweighted, simple graph 𝐺(𝑉, 𝐸) is said to be 2-colorable if there exists a function 𝑐: 𝑉→{0, 1} such that…
Read more →An undirected, unweighted, simple graph 𝐺(𝑉, 𝐸) is said to be 2-colorable if there exists a function 𝑐: 𝑉→{0, 1} such that…
Read more →An ISP having an address block 202.16.0.0/15 assigns a block of 6000 IP addresses to a client, using the classless internet domain…
Read more →Let 𝐺 be an undirected graph, which is a path on 8 vertices. The number of matchings in 𝐺 is ______. (answer…
Read more →Let 𝑋 be a random variable which takes values in the set {1, 2, 3, 4, 5, 6, 7, 8}. Further, Pr(𝑋=…
Read more →Consider a hard disk with a rotational speed of 15000 rpm. The time to move the read/write head from a track to…
Read more →The EX stage of a pipelined processor performs the memory read operations for LOAD instructions, and the operations for the arithmetic and…
Read more →Consider the recursive functions represented by the following code segment: int bar(int n){ if (n == 1) return 0; else return 1…
Read more →The following sequence corresponds to the preorder traversal of a binary search tree 𝑇: 50, 25, 13, 40, 30, 47, 75, 60,…
Read more →Consider a relational database schema with two relations 𝑅(𝑃, 𝑄) and 𝑆(𝑋, 𝑌). Let 𝐸 = {⟨𝑢⟩∣∃𝑣 ∃𝑤 ⟨𝑢, 𝑣⟩∈𝑅 ∧ ⟨𝑣,…
Read more →Consider a relational database schema with a relation 𝑅(𝐴, 𝐵, 𝐶, 𝐷). If {𝐴, 𝐵} and {𝐴, 𝐶} are the only two…
Read more →Ask a study question in English or Hindi. I will find relevant passages from our notes.