PhonePe Onsite | SDE

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-10-24Added By Anonymous
Source: Link
🧭 Experience: unknown
✅ Outcome: unknown
💰 Compensation: unknown
📍 Location: unknown
🏢 Company: PhonePe
🎓 Education: unknown
🎁 Benefits: unknown
📅 Offer Date: unknown

Given relations like “A > B” (A taller than B), “B < C “(B shorter than C) as Vector<string>, where A, B, C say Persons, had to determine if the given relations are enough to sort the persons on basis of their height. Can anyone share the approach to solve this question? Thanks
Comments