Interview Q&A / Machine Learning
Machine Learning interview questions
Supervised vs unsupervised learning, overfitting, metrics and the classic models, explained simply.
Prefer rapid revision? Practise Machine Learning short interview answers →
- When does TypeScript infer generic type arguments, and when must you pass them yourself?
TypeScript infers type arguments from the values you pass. You must write them explicitly when no argument carries the type, such as an empty array, a function with only a return type, or a call where you want a wider type than the inferred one.
IntermediateQuick answer1 min read