Data Structures in Java / / Oswald Campesato.

This book is a fast-paced introduction to using data structures with Java. Numerous code samples and listings are included to support myriad topics. The first chapter contains a quick introduction to Java, along with Java code samples to check for leap years, find divisors of a number, and work with...

Full description

Saved in:
Bibliographic Details
VerfasserIn:
Place / Publishing House:Dulles, VA : : Mercury Learning and Information, , [2023]
©2023
Year of Publication:2023
Language:English
Online Access:
Physical Description:1 online resource (232 p.)
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Other title:Frontmatter --
Contents --
Preface --
Chapter 1: Introduction to Java --
Chapter 2: Recursion and Combinatorics --
Chapter 3: Strings and Arrays --
Chapter 4: Search and Sort Algorithms --
Chapter 5: Linked Lists (1) --
Chapter 6: Linked Lists (2) --
Chapter 7: Queues and Stacks --
Index
Summary:This book is a fast-paced introduction to using data structures with Java. Numerous code samples and listings are included to support myriad topics. The first chapter contains a quick introduction to Java, along with Java code samples to check for leap years, find divisors of a number, and work with arrays of strings. The second chapter introduces recursion and uses code samples to check if a positive number is prime, to find the prime divisors of a positive integer, to calculate the GCD (greatest common divisor) and LCM (lowest common multiple) of a pair of positive integers. The third chapter contains Java code samples involving strings and arrays, such as finding binary substrings of a number, checking if strings contain unique characters, counting bits in a range of numbers, and how to compute XOR without using the XOR function. Chapters 4 through 6 include Java code samples involving search algorithms, concepts in linked lists, and tasks involving linked lists. Finally, Chapter 7 discusses data structures called queues and stacks, along with additional Java code samples. FEATURES:Extensive topics, code samples, and scripts related to data structuresCovers strings, arrays, queues, and stacks, linked lists, computing the XOR function, checking for unique characters, and moreIncludes companion files with code samples from the book (available for downloading from the publisher)
Format:Mode of access: Internet via World Wide Web.
ISBN:9781683929543
Access:restricted access
Hierarchical level:Monograph
Statement of Responsibility: Oswald Campesato.