Author Topic: BTree, looking for an algorithms book  (Read 3017 times)

0 Members and 1 Guest are viewing this topic.

Offline legacyTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
BTree, looking for an algorithms book
« on: November 26, 2015, 12:48:26 pm »
hi guys
I have to implement a Btree algorithm in C, without recursion, but I happen to have no knowledge of the Btree properties, so i'd like to learn a bit
is there a good book about these algorithms ? binary trees, with/without recursion, tricks, properties, and best practice.

thank you  :-+


(edit:
hobby purpose, so I can reschedule with low priority)
« Last Edit: November 26, 2015, 12:50:09 pm by legacy »
 

Offline legacyTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: BTree, looking for an algorithms book
« Reply #1 on: November 26, 2015, 03:43:24 pm »
Morris traversal.

thank you for this article (with source code in pastebin)
but … any good book about algorithms?
 

Offline GNU_Ninja

  • Regular Contributor
  • *
  • Posts: 200
  • Country: gb
  • Mostly Harmless
Re: BTree, looking for an algorithms book
« Reply #2 on: November 26, 2015, 03:53:59 pm »
The Art of Computer Programming, Vol 1. Fundamental Algorithms, 3rd Edition, Donald E Knuth

ISBN 0-201-03801-3
 

Offline grumpydoc

  • Super Contributor
  • ***
  • Posts: 2905
  • Country: gb
Re: BTree, looking for an algorithms book
« Reply #3 on: November 26, 2015, 04:00:10 pm »
 

Offline dmills

  • Super Contributor
  • ***
  • Posts: 2093
  • Country: gb
Re: BTree, looking for an algorithms book
« Reply #4 on: November 26, 2015, 05:24:07 pm »
Yea but everyone should have a copy of TAOCP, you don't often need it, but when things get hardcore the answer usually lies in Knuth.

Sedgewick (ISBN 032157351X) is good for more basic things.

Regards, Dan.
 

Offline legacyTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: BTree, looking for an algorithms book
« Reply #5 on: November 26, 2015, 06:41:17 pm »
thank you guys
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: BTree, looking for an algorithms book
« Reply #6 on: November 27, 2015, 08:09:15 am »
Sedgewick has a really nice set of online classes about Algorithms (via Coursera)
Here's the "booksite" page associated with searching: http://algs4.cs.princeton.edu/30searching/
(This is apparently meant as a supplement to his book and class, but it might be a good intro.   And: code!  (in Java, but that's pretty close.)
 

Offline Gabri74

  • Regular Contributor
  • *
  • Posts: 107
  • Country: it
Re: BTree, looking for an algorithms book
« Reply #7 on: November 30, 2015, 09:22:24 am »
The Art of Computer Programming, Vol 1. Fundamental Algorithms, 3rd Edition, Donald E Knuth

ISBN 0-201-03801-3

This!  :-+
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf