Applying Algorithms in C#
In the previous chapter, you learned about a few algorithms, and also how to use pseudocode to get a high-level view of how each algorithm is applied. Software engineers may use this method to understand how an algorithm works, or as practice for a technical interview for a role they may be pursuing. Whatever the case may be, the next step after working with pseudocode is to implement the algorithm in a programming language. After an algorithm is built, software engineers can make the choice to improve it. They can take another look at the code they wrote and decide which parts need improvements to make the algorithm more efficient or its code more readable. In a team setting, this is usually done through a code review, where another software engineer who wasn’t the original author of the code will look over it and make the recommended performance and readability changes. The process of applying changes to code such as an algorithm is called refactoring...