100+ Proven Tasks that Will Prepare You for Anything
Michael Inden
Java#
data_structures#
JUnit#
کتاب "چالشهای جاوا" به شما این امکان را میدهد که دانش خود را در زمینه جاوا گسترش دهید. این کتاب شامل بیش از ۱۰۰ تمرین و چالش برنامهنویسی است که شما را برای امتحانات یا مصاحبههای شغلی آماده میکند. موضوعات مختلفی مانند رشتهها، آرایهها، ساختارهای داده، بازگشتیها و تاریخ و زمان در این کتاب پوشش داده شده است. این کتاب با نسخه جاوا ۱۷ سازگار است.
هر موضوع در یک فصل مجزا مطرح میشود که با معرفی اصول پایه آغاز میشود و سپس با تعدادی تمرین با درجات سختی مختلف ادامه مییابد تا مهارتهای برنامهنویسی شما به طور مؤثر ارتقا یابد. راهحلهای نمونه دقیق، شامل الگوریتمهای مورد استفاده برای تمامی مسائل، نیز در این کتاب ارائه شده است تا درک شما از هر بخش را به حداکثر برساند.
نویسنده، مایکل ایندن، همچنین راهحلهای جایگزین را توصیف کرده و به تحلیل مشکلات احتمالی و خطاهای رایج میپردازد. سه پیوست در انتهای کتاب آورده شده است: یکی به JShell اختصاص دارد که برای آزمایش قطعات کد و مثالهای موجود در کتاب مفید است، دیگری به معرفی JUnit 5 برای تست واحد و بررسی راهحلها میپردازد، و آخرین پیوست به توضیح مفهوم O-notation برای ارزیابی عملکرد پرداخته است.
پس از مطالعه این کتاب، شما آماده خواهید بود تا گام بعدی را در حرفه خود بردارید یا پروژه شخصی بعدی خود را شروع کنید. تمامی کدهای منبع به صورت رایگان از طریق وبسایت Apress قابل دانلود هستند.
Expand your knowledge of Java with this entertaining learning guide, which features 100+ exercises and programming challenges. Java Challenges will prepare you for your next exam or job interview, and covers many practical topics, such as strings, arrays, data structures, recursion, and date and time. The APIs and other material included in this book are Java 17 compatible.
Each topic is addressed in its own separate chapter, starting with an introduction to the basics and followed by multiple exercises of varying degrees of difficulty, helping you to improve your programming skills effectively. Detailed sample solutions, including the algorithms used for all tasks, are included to maximize your understanding of each area.
Author Michael Inden also describes alternative solutions and analyzes possible pitfalls and typical errors. Three appendices round out the book: one covering JShell, which is often helpful for trying out the code snippets and examples in the book, followed by an introduction to JUnit 5 for unit testing and verifying solutions, while the final appendix explains O-notation for estimating performance.
After reading this book, you'll be prepared to take the next step in your career or tackle your next personal project. All source code is freely available for download via the Apress website.
What You Will Learn
• Improve your Java knowledge by solving enjoyable but challenging programming puzzles
• Solve mathematical problems, recursions, strings, arrays and more
• Manage data processing and data structures like lists, sets, maps
• Handle advanced recursion as well as binary trees, sorting and searching
• Gamify key fundamentals for fun and easier reinforcement
Who This Book Is For
Professional software developers, makers, as well as computer science teachers and students. At least some prior experience with Java programming is recommended.
Table of Contents
- Chapter 1: Introduction
- Part I: Fundamentals
- Chapter 2: Mathematical Problems
- Chapter 3: Recursion
- Chapter 4: Strings
- Chapter 5: Arrays
- Chapter 6: Date Processing
- Chapter 7: Basic Data Structures: Lists, Sets, and Maps
- Part II: More Advanced and Tricky Topics
- Chapter 8: Recursion Advanced
- Chapter 9: Binary Trees
- Chapter 10: Searching and Sorting
- Chapter 11: Conclusion and Supplementary Literature
- Part III: Appendices
- Appendix A: Quick Start for JShell
- Appendix B: Short Introduction to JUnit 5
- Appendix C: Quick Start for O-notation
About the Author
Michael Inden is an Oracle-certified Java developer with over 20 years of professional experience designing complex software systems for international companies. There, he has worked in various roles such as SW developer, SW architect, consultant, team leader, CTO, head of academy, and trainer. Currently, he is working as a freelancer. His special interests are creating high-quality applications with ergonomic GUIs, developing and solving programming puzzles, and coaching. He likes to pass on his knowledge and has led various courses and talks, both internally and externally, as well as at conferences such as JAX/W-JAX, JAX London, and Oracle Code One. Besides, he is also an author of technical books. His german books, among others "Der Weg zum Java-Profi", Java Challenge", "Python Challenge" are all published by dpunkt.verlag.