Newgen Software | Recent Online Assessment(OA) questions and answers 2026 | Core CS & Programming Questions | the Newgen oa Round | CS Fundamentals from Dec 6th
Question · Posted Mar 2026
Question 1: Shortest Path Algorithms Which of the below given techniques is/are used to calculate the shortest path? I) Dijkstra's algorithm II) Floyd warshall algorithm III) Bellman ford algorithm Only (I) Only (I) and (II) All (I), (II) and (III) Only (II) and (III) Question 2: Recursive Function Output Consider the following function definition: int sum(int n) { if (n == 0) return 0; else return n + sum(n-1); } What is the output if the function were called with ...
The full answer & interview discussion are available to premium members.
Log in Create a free account