PUBG HACK
CodeChefOpen on judge ↗
Your PUBG game has been hacked, The hacker changed the name of each player in a team in anagrams of a random word. The only way to differentiate your team members is finding everyone whose name is now an anagram of your name. write a program to find your teammates. For example, given name list ['eat', 'ate', 'apt', 'pat', 'tea', 'now'] and your name as 'eta' your team members are ['eat' 'ate' 'te
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start