April 18, 2024

Question 9639 – Sorting

In a permutation a1…an of n distinct integers, an inversion is a pair (ai, aj) such that i < j and ai > aj. If all […]
April 19, 2024

Graphs-and-Tree

Question 4 A_____takes a directed ______ graph G and produce a linear ordering of all its vertices such that for every directed edge in G, the […]
April 19, 2024

OOPS

Question 41 In the given Program: class Dialog1 { public static void main(String args[]) { Frame f1=new Frame(“INDIA”); f1.setSize(300,300); f1.setVisible(true); FileDialog d=new FileDialog(f1, “MyDialog”); d.setVisible(true); String […]