Algorithm Efficiencies
Developers focused on ensuring their Java applications perform at a high level must consider the efficiency of individual algorithms. We do not judge an algorithm’s efficiency by its lines of code; rather, we make this judgment after analyzing test results.
This chapter is intended to help you learn how to choose the right algorithm for any given requirement. It also covers the concept of time complexity to include strategies for reducing time complexity. We will also focus on lean and efficient code. This chapter also emphasizes the importance of algorithm testing.
This chapter covers the following main topics:
- Algorithm selection
- Low time complexity
- Testing algorithms for efficiency
By the end of this chapter, you should have a strong theoretical understanding of algorithm efficiencies as well as hands-on experience creating and modifying algorithms. This experience can help ensure you get high performance out of your Java...