79279135

Date: 2024-12-13 17:34:24
Score: 3
Natty:
Report link

Alright, so, I'm working on your code.
I stumbled onto this line:

IntMap(int capacity)
 : capacity(capacity), count(0), head(nullptr) {
    data = new Entry<E>*[capacity];
    for (int i = 0; i < capacity; i++) {
        data[i] = nullptr;
    }
}

Can you see the problem?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
Posted by: viraltaco_