00:00
Group Anagrams
Medium
An anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once. For example, "listen" and "silent" are anagrams of each other.
Note: this project was built for the AssemblyAI Winter Hackathon (we got an honorable mention!). We'll keep this website up but the APIs used will be disabled to save costs. You'll still be able to practice a coding interview, but with limited features.
Interview Analysis 🎉
Congrats on finishing your practice interview. We use a combination of AI-powered tools to analyze your interview and provide you with a detailed report. You can use this report to improve your interview skills and get better at coding interviews.
Total Interview Time ✨
20 minutes
Technical Communication Analysis ✨
Based on how you described your approach to the problem, we used GPT-3 to generate code based on your description. You can analyze the generated code to see how well you communicated your approach.
Your approach
AI-generated code (from your description)
Disabled
Code Correctness ✨
See how your solution compares to the optimal solution.
Code (your solution)
def groupAnagrams(): return []
Answer
def groupAnagrams(strs): d = {} for s in strs: sorted_s = ''.join(sorted(s)) if sorted_s not in d: d[sorted_s] = [s] else: d[sorted_s].append(s) return list(d.values())
Code Efficiency ✨
We compared how you analyzed your code's time complexity with what GPT-3 thinks your code's time complexity is.
Time complexity (your answer)
AI analysis of your code
Disabled