Flipkart Interview question for SDE-1

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-04-22Added By Anonymous
Source: Link
Company: Flipkart
Role: SDE 1
Stage: unknown
Location: unknown
Year: unknown

Original Post:
A state consists of n cities. All roads in city are bidirectional. We have to find the length of shortest route between two given cities, with a twist that you can eliminate the distance between any “k” connected cities (eliminate a distance means you can make distance between two connected cities as 0, you can do this “k” times). please do share your ideas .Thanks
Comments