Important .NET interview questions
- Difference between
List<T>andArray? - When should you use
Dictionary<TKey, TValue>instead ofList<T>? - Why is
HashSet<T>useful for duplicates? - How does
PriorityQueue<T>help with top-K problems? - What is the difference between stack and queue?
- Explain BFS vs DFS with example.
- Why is binary search only used on sorted data?
- What is a greedy approach and when is it not safe?
- How would you detect a cycle in a linked list?
- How do you explain dynamic programming in simple terms?
Can you explain it without the notes?
Important .NET interview questions
Use your own words. Explain an example and one limitation before checking the explanation.
Check your explanation
- Difference between List and Array?
Turn this concept into a clear answer.
Practice this conceptAdapted from 17_DSA_DOTNET.md · “13. Important .NET interview questions”. Examples are study fragments; framework behavior can depend on your version.