This question is based on the product recommendation system on Amazon. Every time you open the a product page on Amazon you can see a section “People who viewed this also viewed”. Now given a product relationship represented as a graph(adjacent list), find out the largest connected component on this graph...

Solve the problem:
Python3def findLargestGroup(items: List[List[str]]) -> List[str]:
Get one-to-one training from Google Facebook engineers
Top-notch Professionals
Learn from Facebook and Google senior engineers interviewed 100+ candidates.
Most recent interview questions and system design topics gathered from aonecode alumnus.
One-to-one online classes. Get feedbacks from real interviewers.
Customized Private Class
Already a coding expert? - Advance straight to hard interview topics of your interest.
New to the ground? - Develop basic coding skills with your own designated mentor.
Days before interview? - Focus on most important problems in target company question bank.