Odoo, Recently Asked Online Assessments in 2026 | Graph Shortest Path | Graph BFS & String Parsing | Campus Assessment

Question · Posted Apr 2026

Question: Graph Challenge (Shortest Path via String Parsing) Problem Statement: Have the function GraphChallenge(strArr) take strArr which will be an array of strings which models a non-looping Graph. The structure of the array will be as follows: The first element in the array will be the number of nodes N (points) in the array as a string. The next N elements will be the nodes which can be anything (A, B, C .. Brick Street, Main Street .. etc.). Then ...

The full answer & interview discussion are available to premium members.

Log in Create a free account