Skip to main content

Choosing the Best Algorithm

  • Chapter
  • First Online:
Data Structures and Algorithms in Swift
  • 987 Accesses

Abstract

We have learned different types of algorithms such as sorting, searching, and graph algorithms, and there are likely to be many possible algorithms which perform the same task. The question is, if we want to search for a value in the list, which type of searching algorithm do we have to choose? By analyzing various algorithms, we will study this question in this chapter.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Elshad Karimov

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Karimov, E. (2020). Choosing the Best Algorithm. In: Data Structures and Algorithms in Swift. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5769-2_17

Download citation

Publish with us

Policies and ethics