Delhivery
Java Full Stack Developer
Linked List Connected Components
Medium
TechnicalcodingCandidate Not Selected
You are given the head of a linked list and an integer array nums. Return the number of connected components formed by nodes whose values appear in nums. Example: Input: head = [0,1,2,3], nums = [0,1,3] → Output: 2
This question was asked in
Delhivery Java Full Stack Developer Interview Experience
The interview process at Delhivery consisted of two rounds focused on technical skills and low-level design. Candidates faced a variety of questions ranging from architecture choices to coding challenges and database design concepts. The overall difficulty was medium, with a blend of theoretical and practical questions that tested both knowledge and application skills.