Solved P3 - A1 - Inverted Index