I applied online. I interviewed at Kaedim in Jun 2024
Interview
First there was an online OA and then there was an interview
In that they asked shortest distance between the cities using JavaScript,
After that he went through the code and asked why I used bfs / dfs
Interview questions [1]
Question 1
Solve the question
// keep this function call here
console.log('Sample test passing: ' + (ShortestPath(["5", "AA", "B", "C", "D", "F", "AA-B", "AA-C", "B-C", "C-D", "D-F"]) == 'A-C-D-F'));
console.log('Sample test passing: ' + (ShortestPath(["4", "X", "Y", "Z", "W", "X-Y", "Y-Z", "X-W"]) == 'X-W'));