3 ms·
Agree. One such simple example is a ListNode (Linked List). In C/C++ implementation, if we don’t explicitly declare node.next = null It can have a garage
by yeukhon 9y ago
Agree. One such simple example is a ListNode (Linked List). In C/C++ implementation, if we don’t explicitly declare
node.next = null
It can have a garage unless you assigned a value.
This can be hard to debug in production.