Lyt når som helst, hvor som helst

Nyd den ubegrænsede adgang til tusindvis af spændende e- og lydbøger - helt gratis

  • Lyt og læs så meget du har lyst til
  • Opdag et kæmpe bibliotek fyldt med fortællinger
  • Eksklusive titler + Mofibo Originals
  • Opsig når som helst
Start tilbuddet
DK - Details page - Device banner - 894x1036

Swift Data Structure and Algorithms

Sprog
Engelsk
Format
Kategori

Fakta

Master the most common algorithms and data structures, and learn how to implement them efficiently using the most up-to-date features of Swift 3 About This Book • Develop a deep understanding of the collections in the Swift Standard Library with this step-by-step guide • Develop native Swift data structures and algorithms for use in mobile, desktop, and server-based applications • Learn about performance efficiency between different data structures and algorithms Who This Book Is For This book is for developers who want to learn how to implement and use common data structures and algorithms natively in Swift. Whether you are a self-taught developer without a formal technical background or you have a degree in Computer Science, this book will provide with the knowledge you need to develop advanced data structures and algorithms in Swift using the latest language features. What You Will Learn • Get to know about the basic data structures and how to use the Swift REPL • Use the Swift Standard Library collections bridging to Objective-C collections, and find out about protocol-oriented programming • Find out about Swift generators and sequences, and see how to use them to implement advanced data structures such as Stack, StackList, Queue, and LinkedList • Implement sorting algorithms such as Insertion Sort, Merge Sort, and Quick Sort and understand the performance trade-offs between them • See how to implement various binary trees, B-Tree, and Splay Trees • Perform advanced searching methods using Red-Black trees, AVL trees, and Trie trees, and take a look at several substring search algorithms • Get to know about the data structures used in graphs and how to implement graphs such as depth-first search, breadth-first search, directed graphs, spanning tree, and shortest path • Explore algorithm efficiency and see how to measure it In Detail Apple's Swift language has expressive features that are familiar to those working with modern functional languages, but also provides backward support for Objective-C and Apple's legacy frameworks. These features are attracting many new developers to start creating applications for OS X and iOS using Swift.

Designing an application to scale while processing large amounts of data or provide fast and efficient searching can be complex, especially running on mobile devices with limited memory and bandwidth. Learning about best practices and knowing how to select the best data structure and algorithm in Swift is crucial to the success of your application and will help ensure your application is a success. That's what this book will teach you.

Starting at the beginning, this book will cover the basic data structures and Swift types, and introduce asymptotic analysis. You'll learn about the standard library collections and bridging between Swift and Objective-C collections. You will see how to implement advanced data structures, sort algorithms, work with trees, advanced searching methods, use graphs, and performance and algorithm efficiency. You'll also see how to choose the perfect algorithm for your problem. Style and approach This easy-to-follow yet comprehensive guide can either be read from beginning to end, or depending on your current knowledge level, you can jump to the specific chapter that interests you. Each chapter topic starts with an introduction to the topic and algorithm before moving on to the hands-on implementation and analysis.

© 2016 Packt Publishing (E-bog): 9781785884658

Release date

E-bog: 18. november 2016

Tags

    Andre kan også lide...

    1. Deep Learning: Guide to Machine Learning and Artificial Intelligence David Feldspar
    2. Automate This: How Algorithms Came to Rule Our World Christopher Steiner
    3. Python Machine Learning for Beginners: All You Need to Know about Machine Learning with Python Alex Campbell
    4. Python Computer Programming: Simple Step-By-Step Introduction to the Python Object-Oriented Programming. Quick Start Guide for beginners. Alex Campbell
    5. 101 Conversations in Simple English: Short Natural Dialogues to Boost Your Confidence & Improve Your Spoken English Olly Richards
    6. The Qur'an - Surah 7 - Al-A'raf Traditonal
    7. Java Fundamentals Introbooks Team
    8. Hinduism in Sangam Tamil Literature London Swaminathan
    9. The Qur'an - Surah 66 - At-Tahrim aka Surat An-Nabi Traditonal
    10. Communication between Parents and Teens: All the Effective Strategies You Absolutely Must Know to Help Foster Dialogue with Teens Bonnie Feron
    11. Blue/Orange Joe Penhall
    12. The Mighty Carlins Collin Doyle
    13. CATCH-22 Joseph Heller
    14. Romeo & Juliet by Shakespeare, a Summary of the Play William Shakespeare
    15. Once Upon a Galactic Time N.D. Shar
    16. The Best Psychic Stories various authors
    17. The Adventures of Tom Sawyer Mark Twain
    18. The Three Musketeers Alexandre Dumas
    19. The Power of Consistent Self-Discipline: Discover How Elite Performers Use Self-Control and Mental Toughness to Achieve Their Goals William Anderson
    20. 19 Till I Die Anjali Kirpalani
    21. Elite: A hot billionaire romance Elizabeth SaFleur
    22. Practical Tips on Supporting Boys with ADHD: A guide on how to support your child with ADHD in the home, and at school Suzanne Byrd
    23. The Man Who Had All the Luck Arthur Miller
    24. Origin Pedro Urvi
    25. French Short Stories for Beginners: Over 100 Conversational Dialogues & Daily Used Phrases to Learn French. Have Fun & Grow Your Vocabulary with French Language Learning Lessons! Language Mastery
    26. Brave New World Aldous Huxley
    27. One Thousand Dollars and Other Plays O. Henry
    28. Frankenstein Mary Shelley
    29. Breaking the Code Hugh Whitemore
    30. H. P. Lovecraft – Horror Stories Vol. I H.P. Lovecraft
    31. Amadeus Peter Shaffer
    32. Learn Arabic - Level 1: Introduction to Arabic, Volume 1: Volume 1: Lessons 1-25 Innovative Language Learning
    33. Henry VIII and His Six Wives Janet Hardy-Gould
    34. Moby-Dick Herman Melville
    35. Trolls Stefan Spjut
    36. Daughter of War: An unputdownable historical epic S.J.A. Turney
    37. Kismat Connection Ananya Devarajan
    38. Sherlock Holmes: The Emerald Crown Sir Arthur Conan Doyle
    39. 1984 Anna Lea
    40. ADHD: Diagnoses, Difficulties, and Advice for Hyperactive Children and Adults Heather Foreman
    41. Sherlock Holmes: Two Plays Sir Arthur Conan Doyle
    42. Think and Grow Rich with Study Guide: Deluxe Special Edition Napoleon Hill
    43. Twelve Angry Men Reginald Rose
    44. Advanced English Conversations (1): Speak English Like a Native: More than 1000 common phrases and idioms presented through day-to-day handy dialogues Robert Allans
    45. Deepika Padukone Harshit Gupta
    46. Magellan: A Man and his Deed Stefan Zweig
    47. Think and Grow Rich (Condensed Classics): The Original 1937 Classic Napoleon Hill
    48. LinguaBoost - Learn Conversational Hindi LinguaBoost

    Vælg dit abonnement

    • Over 600.000 titler

    • Download og nyd titler offline

    • Eksklusive titler + Mofibo Originals

    • Børnevenligt miljø (Kids Mode)

    • Det er nemt at opsige når som helst

    Flex

    For dig som vil prøve Mofibo.

    89 kr. /måned
    • 1 konto

    • 20 timer/måned

    • Gem op til 100 ubrugte timer

    • Eksklusivt indhold hver uge

    • Fri lytning til podcasts

    • Ingen binding

    Prøv gratis
    Den mest populære

    Premium

    For dig som lytter og læser ofte.

    129 kr. /måned
    • 1 konto

    • 100 timer/måned

    • Eksklusivt indhold hver uge

    • Fri lytning til podcasts

    • Ingen binding

    Start tilbuddet

    Unlimited

    For dig som lytter og læser ubegrænset.

    149 kr. /måned
    • 1 konto

    • Ubegrænset adgang

    • Eksklusivt indhold hver uge

    • Fri lytning til podcasts

    • Ingen binding

    Start tilbuddet

    Family

    For dig som ønsker at dele historier med familien.

    Fra 179 kr. /måned
    • 2-6 konti

    • 100 timer/måned pr. konto

    • Fri lytning til podcasts

    • Kun 39 kr. pr. ekstra konto

    • Ingen binding

    2 konti

    179 kr. /måned
    Prøv gratis