Conversation
Create Queue using Stacks (Problem_1.py)Your solution is well-structured and correctly implements the queue using two stacks. Here are some points to consider:
Overall, your solution is excellent. Just remember to remove any test code when submitting for evaluation. VERDICT: PASS Implement Hash Map (Problem_2.py)Your solution has a good idea of using a two-level array to avoid collisions, which ensures O(1) time complexity for operations. However, there is a critical issue with the _hash2 function and the size of the subbucket arrays.
VERDICT: NEEDS_IMPROVEMENT |
No description provided.