售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Title Page
Copyright and Credits
C# Data Structures and Algorithms
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Getting Started
Programming language
Data types
Value types
Structs
Enumerations
Reference types
Strings
Object
Dynamic
Classes
Interfaces
Delegates
Installation and configuration of the IDE
Creating the project
Input and output
Reading from input
Writing to output
Launching and debugging
Summary
Arrays and Lists
Arrays
Single-dimensional arrays
Example – month names
Multi-dimensional arrays
Example – multiplication table
Example – game map
Jagged arrays
Example – yearly transport plan
Sorting algorithms
Selection sort
Insertion sort
Bubble sort
Quicksort
Simple lists
Array list
Generic list
Example – average value
Example – list of people
Sorted lists
Example – address book
Linked lists
Example – book reader
Circular-linked lists
Implementation
Example – spin the wheel
Summary
Stacks and Queues
Stacks
Example – reversing words
Example – Tower of Hanoi
Queues
Example – call center with a single consultant
Example – call center with many consultants
Priority queues
Example – call center with priority support
Summary
Dictionaries and Sets
Hash tables
Example – phone book
Dictionaries
Example – product location
Example – user details
Sorted dictionaries
Example – definitions
Hash sets
Example – coupons
Example – swimming pools
"Sorted" sets
Example – removing duplicates
Summary
Variants of Trees
Basic trees
Implementation
Node
Tree
Example – hierarchy of identifiers
Example – company structure
Binary trees
Implementation
Node
Tree
Example – simple quiz
Binary search trees
Implementation
Node
Tree
Lookup
Insertion
Removal
Example – BST visualization
AVL trees
Implementation
Example – keep the tree balanced
Red-black trees
Implementation
Example – RBT-related features
Binary heaps
Implementation
Example – heap sort
Binomial heaps
Fibonacci heaps
Summary
Exploring Graphs
Concept of graphs
Applications
Representation
Adjacency list
Adjacency matrix
Implementation
Node
Edge
Graph
Example – undirected and unweighted edges
Example – directed and weighted edges
Traversal
Depth-first search
Breadth-first search
Minimum spanning tree
Kruskal's algorithm
Prim's algorithm
Example – telecommunication cable
Coloring
Example – voivodeship map
Shortest path
Example – game map
Summary
Summary
Classification of data structures
Diversity of applications
Arrays
Lists
Stacks
Queues
Dictionaries
Sets
Trees
Heaps
Graphs
The last word
Other Books You May Enjoy
Leave a review - let other readers know what you think
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜