There are some villages near a city in India that have yet to be connected to the city via road. Some villages are connected to each other via road and some aren’t. A village is said to be connected to the city if one can travel from that village to the city via any road. The cost of making a road between a city and a village and that of between a village and another village is the same and equal to 1 unit. Find the minimum cost the government must bear in order to connect all the villages to the city. Input: N: number of villages. Matrix: M[N+1][N+1] where 0 to N-1 indexes represents a village and the Nth index represents a city. M[x][y] = M[y][x] = 1 if there is a road between x and y.
Software Development Engineer Ii Interview Questions
2,268 software development engineer ii interview questions shared by candidates
Binary Tree is BST or not
Round 1 - maximum Continuous sub array sum Round 2 - Desgin a warehouse system.
print all the duplicates in an array
Draw a Class diagram based on the scenario
Domain round: Complete breakdown of your past experiences, and how you would approach certain test automation specific scenarios. Your CV is going to be picked apart word to word and scrutinized. No coding this round.
DSPS Round: Perform string, patterns and array manipulation qns on your ide and then you'll be asked to tell how to optimize it further.
HR: Was asked about company, my reasons to join, value add I can provide, and my past accomplishments. Certifications are an add on here.
Technical questions and how I will fit to the offering role
Scenario based Key-value store in Java.
Viewing 2161 - 2170 interview questions