1.

The Euler’s circuit problem can be solved in?(a) O(N)(b) O( N log N)(c) O(log N)(d) O(N^2)I have been asked this question in an interview for job.I'd like to ask this question from Checksum, Complexity Classes & NP Complete Problems in division Checksum, Complexity Classes & NP Complete Problems of Data Structures & Algorithms II

Answer»

The correct CHOICE is (d) O(N^2)

Easiest explanation - Mathematically, the run time of EULER’s circuit PROBLEM is DETERMINED to be O(N^2).



Discussion

No Comment Found

Related InterviewSolutions