Packed with more than 100 working code examples, Advanced Programming Techniques will teach you new and innovative algorithms and techniques that you can use in nearly any computer programming language. This book includes multiple solutions to the same programming problems allowing you to compare the different solutions and learn the advantages and disadvantages of each programming technique. From this book you will learn how to write simpler, more precise, and more efficient code. The code examples include
- how to simplify code by writing table based solutions
- how to help a user enter input efficiently
- a novel and improved way of implementing an array list
- an improved way of implementing a linked list
- converting iteration to recursion and vice versa
- the most efficient way to compute the population count of an integer
- improved ways of implementing sets
- the numerically stable way to compute the mean, variance, and correlation
- and much more
Rex A. Barzee is a professor of Computer Information Technology at Brigham Young University – Idaho. He is the inventor of two United States patents and the author of numerous books. He holds a bachelor’s and master’s degree in Computer Science from Brigham Young University. Before becoming a professor, he worked in industry for eight years as a software engineer for Southwest Research Institute, Hewlett-Packard Company, Voyant Technologies, and the Utah State University Space Dynamics Laboratory. He worked on a variety of projects including the HP-UX kernel, HP-UX standard C library, HP-UX OpenGL 3D Graphics Library, full text indexing, image processing, and VoiceXML applications.