Solutions to common job interview questions about algorithms and design patterns in C#.
Algorithms:
- BubbleSort
- QuickSort
- Factorial
- Fibonacci Sequence
Design patterns:
- Singleton
- Observer
- Decorator
- Abstract Factory Pattern
Examples are verified with XUnit and NSubstitute.
Please use ReSharper or the xunit.console.exe runner in the .\packages\xunit.runner.console.2.2.0\tools\ folder to execute unit tests.
Thanks,
Rafał Bielec