5questions
IntermediateNext.js
5 subjects
1 easy3 medium1 hard
How would you give the marketing pages and the signed-in dashboard different root layouts without changing any URLs?
Start practising5 easy13 medium4 hard
// 22 of 22 questions · 22 subjects
easyC vs C++Zero-cost Abstractions
Which compiler flags would you turn on from day one for a new C++ project, and why?
easyToolchainWarnings
What happens on signed versus unsigned integer overflow in C++, and how does it bite?
mediumInteger OverflowBitwise
What goes wrong when a lambda captures by reference and outlives its scope?
mediumLambdasOverloading
mediumRTTIType Erasure
When do you use `unique_ptr`, `shared_ptr` and `weak_ptr`, and how can `shared_ptr` still leak?
hardSmart PointersOwnership
How do forward declarations reduce build times, and when can you not use one?
mediumHeadersForward Declaration
Why must a polymorphic base class have a virtual destructor, and what is the Rule of Zero?
hardVirtual FunctionsRule of Zero
mediumExceptionsnoexcept
When would you use each of the four C++ casts, and why are C-style casts discouraged?
hardCastsUndefined Behaviour
mediumContainersIterator Invalidation
What is SFINAE, and why do C++20 concepts replace most uses of it?
hardSFINAEConcepts
How do you debug a crash that only happens in the optimised release build?
mediumGDBDebug Symbols
mediumCompilation StagesLinker Errors
What does "modern CMake" mean, and why is `include_directories` considered an anti-pattern?
mediumCMakeNinja
mediumLinkingLicensing
How do you unit-test C++ code that depends on hardware or network calls?
mediumGoogleTestMocking
5questions
Intermediate5 subjects
1 easy3 medium1 hard
How would you give the marketing pages and the signed-in dashboard different root layouts without changing any URLs?
Start practising26questions
Intermediate26 subjects
4 easy13 medium9 hard
Walk through what happens between typing a URL into the browser and your backend handler running.
Start practising29questions
Intermediate29 subjects
7 easy15 medium7 hard
How does an AI engineer's job differ from an ML engineer's?
Start practising