Interview practice question
Two libraries need different versions of a dependency
Backend Engineering · Language Runtimes · Beginner
After adding a new library, your build fails because it needs a different version of a shared dependency than another library. How do you resolve it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Inspect dependency tree.
- Find version satisfying both.
- Upgrade/downgrade one library.
- Exclusions/overrides with care.
- Shading or isolation as last resort.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.