1. 3

As you may know from my previous post I am going to China to see family. I am learning specifically Perl 6 but want a good refresh of basics and a book might help me. Thank you in advance.

Edited — Changed first word from “Best” to “Suggested” and added a question mark for clarity. - Author.

    1. 3

      Last year I had to study up for an interview so I bought a big pile of algorithms books, the books in this post are in order of my recommendation (stronger recommendation earlier) - although all books should give you a good coverage and keep you nice and busy for your 32 hours worth of flights.

      You should look at all of them on Amazon and inspect the ToC and sample pages to see which fits your interests best.

      Cracking the Coding Interview (soft cover) is superb and also written in a very approachable way, I found it easy to read cover to cover. It is also full of exercises to practice on.

      Elements of Programming Interviews (soft cover, smaller) is likewise good to read cover to cover. It is likewise full of exercises - it is also small enough to carry around in a bag without issue (it is ~ a5 size).

      Both of the above two books are good in that they start from a lower level than most algorithms texts, and walk you up piece by piece.

      The Algorithm Design Manual (hard cover) is quite good, but I think it is a little heavy for reading cover to cover.

      Programming Pearls (soft cover) is a book I highly recommend, although I think it is best reading if you already feel comfortable with general algorithms, and it doesn’t only cover algorithms.

      Introduction to Algorithms (MIT) (hard cover) is generally very highly praised, although I also think it may be hard to read cover to cover.

      Algorithms (Sedgewick) (hard cover) is also very highly regarded, haven’t read enough to give personal opinion on it though - it is the only book here I haven’t read cover to cover - it is sitting at home in my ‘to read’ pile (behind a bunch of other books more relevant to me ATM).

      1. 2

        Hey you have the wrong link for Cracking the Code Interview, should be this

        1. 1

          good catch, will fix, ty. And looks too late to edit T.T

    2. 1

      I was thinking of suggesting Higher-Order Perl, but considered this was written with Perl 5 in mind, so it may not fit.

    3. 1

      I quite liked this for algorithms: https://www.amazon.com/gp/aw/d/1848000693/

      have also had this one recommended: https://www.amazon.com/gp/aw/d/032157351X/

      and though not strictly an algorithms book, this maths one has been quite a good read: https://www.amazon.com/gp/aw/d/0201558025/