int isFull(Node* top) {
Node* p = new(nothrow) Node; // Safe allocation prevents bad_alloc, include new
if(!p) {
return 1;
} else {
delete p;
return 0;
}
}
Yes. I found an available transcript of the video and summarized it simply. The video is “How To Become Red Coder? (codeforces.com)” by Err...
No comments:
Post a Comment