Höre jetzt 3 Monate lang mit 30 % Rabatt!

Profitieren Sie jetzt von der Winteraktion: Storytel -30%

  • Mehr als 600.000 Hörbücher und E-Book
  • Jederzeit kündbar
  • Exklusive Titel und Originals
  • komfortabler Kinder-Modus
Angebot jetzt aktivieren
se-device-image-1200x1200
Cover for Swift Data Structure and Algorithms

Swift Data Structure and Algorithms

Sprachen
Englisch
Format
Kategorie

Sachbuch

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-Book): 9781785884658

Erscheinungsdatum

E-Book: 18. November 2016

Tags

    Wähle dein Abo-Modell

    • Über 600.000 Titel

    • Lade Titel herunter mit dem Offline Modus

    • Exklusive Titel und Storytel Originals

    • Sicher für Kinder (Kindermodus)

    • Einfach jederzeit kündbar

    Basic

    Für alle, die gelegentlich hören und lesen.

    7.90 € /Monat

    7 Tage kostenlos
    -30 % für 3 Monate
    • Jederzeit kündbar

    • Abo-Upgrade jederzeit möglich

    Angebot jetzt aktivieren
    Am beliebtesten!

    Unlimited

    Für alle, die unbegrenzt hören und lesen möchten.

    18.90 € /Monat

    7 Tage kostenlos
    • Jederzeit kündbar

    • Wechsel zu Basic jederzeit möglich

    Angebot jetzt aktivieren

    Anderen gefällt...

    1. Fourth Wing – Flammengeküsst (Flammengeküsst-Reihe 1)
      Fourth Wing – Flammengeküsst (Flammengeküsst-Reihe 1) Rebecca Yarros
      4.7
    2. Iron Flame – Flammengeküsst (Flammengeküsst-Reihe 2): Die heißersehnte Fortsetzung des Fantasy-Erfolgs »Fourth Wing«
      Iron Flame – Flammengeküsst (Flammengeküsst-Reihe 2): Die heißersehnte Fortsetzung des Fantasy-Erfolgs »Fourth Wing« Rebecca Yarros
      4.7
    3. Rubinrot - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 1 (Ungekürzte Lesung)
      Rubinrot - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 1 (Ungekürzte Lesung) Kerstin Gier
      4.6
    4. Onyx Storm – Flammengeküsst (Flammengeküsst-Reihe 3): Die heißersehnte Fortsetzung von »Fourth Wing« und »Iron Flame«
      Onyx Storm – Flammengeküsst (Flammengeküsst-Reihe 3): Die heißersehnte Fortsetzung von »Fourth Wing« und »Iron Flame« Rebecca Yarros
      4.3
    5. Not Quite Dead Yet (Ungekürzt)
      Not Quite Dead Yet (Ungekürzt) Holly Jackson
      4.5
    6. Boys of Tommen 5: Taming 7: Die BookTok-Sensation endlich auf Deutsch
      Boys of Tommen 5: Taming 7: Die BookTok-Sensation endlich auf Deutsch Chloe Walsh
      4.8
    7. The Paradise Problem – Wenn das Herz den perfekten Plan durchkreuzt: Nach »The Unhoneymooners« endlich die neue paradiesisch prickelnde RomCom der SPIEGEL-Bestsellerautorin
      The Paradise Problem – Wenn das Herz den perfekten Plan durchkreuzt: Nach »The Unhoneymooners« endlich die neue paradiesisch prickelnde RomCom der SPIEGEL-Bestsellerautorin Christina Lauren
      4.4
    8. The Pumpkin Spice Latte Disaster (Lower Whilby 1): In dieser cosy RomCom treffen Stars Hollow-Vibes auf die Enemies to lover-Trope
      The Pumpkin Spice Latte Disaster (Lower Whilby 1): In dieser cosy RomCom treffen Stars Hollow-Vibes auf die Enemies to lover-Trope Kyra Groh
      4.4
    9. Silent Lies: Der Serbe
      Silent Lies: Der Serbe Neva Altaj
      4.8
    10. Alchemised: Das internationale Phänomen – jetzt auch als Hörbuch
      Alchemised: Das internationale Phänomen – jetzt auch als Hörbuch SenLinYu
      4.3
    11. Just for the Summer
      Just for the Summer Abby Jimenez
      4.5
    12. The Wrong Bride - The Windsors, Teil 1 (Ungekürzt)
      The Wrong Bride - The Windsors, Teil 1 (Ungekürzt) Catharina Maura
      4.3
    13. "Mama, bitte lern Deutsch" - Unser Eingliederungsversuch in eine geschlossene Gesellschaft (Ungekürzte Autorenlesung)
      "Mama, bitte lern Deutsch" - Unser Eingliederungsversuch in eine geschlossene Gesellschaft (Ungekürzte Autorenlesung) Tahsim Durgun
      4.8
    14. Knightsbridge United: Offsided | Britischer Fußball trifft auf High Society | Fake Dating-Sports Romance | Für Fans von Elle Kennedy und Hannah Grace | Starke Protagonistin
      Knightsbridge United: Offsided | Britischer Fußball trifft auf High Society | Fake Dating-Sports Romance | Für Fans von Elle Kennedy und Hannah Grace | Starke Protagonistin Marina Neumeier
      4.5
    15. 22 Bahnen: Lieblingsbuch des unabhängigen Buchhandels 2023
      22 Bahnen: Lieblingsbuch des unabhängigen Buchhandels 2023 Caroline Wahl
      4.1