title: Algorithm
author: Arthur M. Doweyko
description: "... a thriller-type mystery ... the action continues to the end ... Hardly anything is what it seems to be. Genre readers should enjoy it; I did." Piers Anthony Author of the Xanth fantasy series "Hard science fiction is always a trick to pull off, but Arthur Doweyko's novel, Algorithm, does it, and he takes you places you didn't expect to go ... if you pay attention, you might find yourself learning some things you didn't know." Steve Perry New York Times Bestselling Author of The Vastalimi Gambit "Cutting edge science delivered in mouth-watering morsels: a completely original origin story." Dean C. Moore, Author of Renaissance 2.0 "Doweyko pulls you into his world with taut, intelligent prose and superb storytelling. The award winning Algorithm is a fine mixture of literary, sci-fi, and fantasy that rewards its readers with elaborate exposition and fantastic action. Just a great book." J. J. White Author of Prodigious Savant and Deviant Acts "... hooks the reader from the get go ... Indiana Jones for the thinking reader ... I was carried along by the likeable characters and the believable possibilities that the author presented." Martha Powers Amazon Bestselling Thriller writer
zlib_text: Elementary Algorithms
  Larry LIU Xinyu 1
  October 7, 2020
  1Larry LIU Xinyu
  Version: 0.6180339887498949
  Email: liuxinyu95@gmail.com
  
  2
  
  Contents
  I
  Preface
  5
  0.1
  Why?
  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  7
  0.2
  The smallest free ID problem, the power of algorithms . . . . . . . . . . . . . . . . . . . . . . . .
  7
  0.2.1
  Improvement 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  7
  0.2.2
  Improvement 2, Divide and Conquer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  8
  0.2.3
  Expressiveness vs. Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  9
  0.3
  The number puzzle, power of data structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  10
  0.3.1
  The brute-force solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  10
  0.3.2
  Improvement 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 