OhmsCode.
CURATED LIST · 40 PROBLEMS

Interview-week sprint

Forty quick problems (five minutes or less) to warm up in the final week.

Status# ↑TitleTopicTypeDifficultyAcceptance
Not attempted1A pointer outlives its objectEmbedded CMCQEasy—
Not attempted2Read-only through this pointerEmbedded CMCQEasy—
Not attempted3The visibility trapFREEEmbedded CMCQEasy—
Not attempted4One past the endEmbedded CMCQEasy—
Not attempted5Signed overflowEmbedded CMCQEasy—
Not attempted6Sample buffer sizeEmbedded CNumericEasy—
Not attempted7Array size at a call boundaryEmbedded CMCQEasy—
Not attempted8Copying overlapping samplesEmbedded CMCQEasy—
Not attempted9Checking packet allocation multiplicationEmbedded CMCQEasy—
Not attempted10The character signedness assumptionEmbedded CMCQEasy—
Not attempted11A function pointer callbackEmbedded CMCQEasy—
Not attempted12The realloc failure pathEmbedded CMCQEasy—
Not attempted13Integer promotion before complementEmbedded CMCQEasy—
Not attempted14A macro evaluates an argument twiceEmbedded CMCQEasy—
Not attempted15Comparing structures with paddingEmbedded CMCQEasy—
Not attempted16Restrict is a promiseEmbedded CMCQEasy—
Not attempted17Keeping bytes away from string APIsEmbedded CMCQEasy—
Not attempted18Pointer arithmetic has an element sizeEmbedded CMCQEasy—
Not attempted19Checking a compile-time hardware assumptionEmbedded CMCQEasy—
Not attempted20The unsigned countdown trapEmbedded CMCQEasy—
Not attempted21One definition and several declarationsEmbedded CMCQEasy—
Not attempted22Space for a bounded message stringEmbedded CNumericEasy—
Not attempted23A string literal is not writable storageEmbedded CMCQEasy—
Not attempted24Recovering from snprintf truncationEmbedded CMCQEasy—
Not attempted25A pointer to a const objectEmbedded CMCQEasy—
Not attempted26Effective type of a float objectEmbedded CMCQEasy—
Not attempted27Empty objects from callocEmbedded CMCQEasy—
Not attempted28An enum's invalid wire valueEmbedded CMCQEasy—
Not attempted29Using a freed buffer only for comparisonEmbedded CMCQEasy—
Not attempted30Size of a flexible array allocationEmbedded CMCQEasy—