Design-1 Implemented min-stack#2650
Design-1 Implemented min-stack#2650PavanKumarBollam wants to merge 3 commits intosuper30admin:masterfrom
Conversation
Implement Hash Set (Sample.java)It appears there has been a misunderstanding. The problem was to implement a HashSet, but your solution is for a MinStack. Please review the problem statement carefully. For the HashSet problem, you need to design a data structure that supports add, remove, and contains operations without using built-in hash table libraries. To implement MyHashSet, you might consider using techniques like chaining with linked lists or using a boolean array with double hashing (as shown in the reference solution). The reference solution uses a 2D boolean array with two levels of hashing to handle collisions. Here are some steps to get you started on the correct problem:
VERDICT: NEEDS_IMPROVEMENT Implement Min StackYour solution is well-structured and efficient. Here are some points to consider:
Overall, your solution is correct and efficient. Keep up the good work! VERDICT: PASS |
No description provided.