Packed with more than 100 working code examples, this book 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(1) how to simplify code by writing table based solutions,(2) how to help a user enter input efficiently,(3) a novel and improved way of implementing an array list,(4) an improved way of implementing a linked list,(5) converting recursion to iteration and vice versa,(6) the most efficient way to compute the population count of an integer,(7) improved ways of implementing sets,(8) the numerically stable way to compute the mean, variance, and correlation,(9) and much more.Who Should Read This Book?I wrote this book for my students graduating with a degree in computer science or information technology from Brigham Young University – Idaho. Consequently, those that will benefit most from reading this book are fourth year undergraduate students, graduate students, and software developers with less than three years of work experience. Each chapter within this book starts with content easily understood by second year undergraduate students and moves quickly to more difficult content. This is my attempt to lure students to study content that is more difficult than they normally would.About the AuthorRex 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. You can see his full profile at
Rex A. Barzee is a professor of Computer Information Technology at Brigham Young University - Idaho. He is an inventor of two United States patents and the author of numerous courses and 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 developer for the Southwest Research Institute, Hewlett-Packard Company, and the Utah State University Space Dynamics Laboratory. He worked on various projects including the HP-UX kernel, HP-UX OpenGL 3D Graphics Library, full-text indexing, image processing, and VoiceXML applications.