Lightning Talk: Filling the Bucket: Reading Code, C++ Code Interviews & Exams
summary
C++ exam-style code reads a recursive CanFill(big, vector<small>, idx) that returns pair<bool, fill-instructions> and assumes the small buckets are sorted decreasingly; a case shows the last bucket > target so it fails, and a call-count question yields four recursive calls. The implementation contains an off-by-one bug in the loop/count logic, and an AI (ChatGPT) is used to explain and answer the questions — it gives useful explanations but makes at least one wrong flip and misses a value-detail.
AI-written summary · about
related talks
06mLightning Talk: How to Win at Coding Interviews
01h 03mCracking the Coding Interview
59mTop 10 Algorithms for Coding Interviews
01h 43mCrazy Code, Crazy Coders
01h 31mLearning from C++ Juniors’ Mistakes
40mSolving algorithms: beyond cramming for job interviews
55mThe Floor is Lava, trying to teach C++
01h 01mDown the Rabbit Hole: An Exploration of Stack Overflow Questions
