I am a fresh software engineering graduate and I am looking for something to improve my problem solving skills, while I did learn about basic algorithms and data structures, I feel like I could learn further more, I know about big O, fast sorting algorithms, dynamic programming, backtracking, binary trees (Although I do not think I know everything about them), I also know about low level memory concepts.

I am sure I forgot to mention some of the stuff I also know about, but I hope the ones I mentioned give a good insights on where I should move onto next.

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      Ha ha came here to suggest exactly this book!

      It has it all, from bubble sort up to parallel algos and isn’t it just a killer name, introduction to algorithms…

    • NostraDavid@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 months ago

      There are YT courses available to support the book. Or rather, the book exists to support the courses:

      Don’t mind the ages of these series - I watched them in full, and they’re generally still relevant. I say generally because I’m not sure if I’ll ever use a Tango Tree, but who knows!

      PS: If you’re not sure if you don’t know the required Math, I created a graph of all MIT courses with YT videos here. The courses on the left are dependencies for those to the right.

  • pooberbee (any)@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    2 months ago

    If you want to improve your problem solving skills, I’d suggest solving actual problems. Data structures and algorithms can be very satisfying in their own right, but the real value is in taking a real-world problem and translating it into code.

    It also depends what you want to do with your knowledge. There are domains that are deeply technical and require a lot of the things you’ve mentioned, but they also tend to be pretty hard to break into. A lot of software is not so deep. Any software project will have need for good domain modeling, architecture, and maintainability. Again, these are things best learned through practice.

    • jeffhykin@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 months ago

      I agree, and here’s a few different avenues of examples:

      1. If trying to get past interviews, Leet code and hacker rank can be great. They’re not so great for real world problems, but not bad.

      2. Advent of code is a good middle ground between theory and practice in my opinion.

      3. To really learn real world problem solving, I’d recommend implement a specification, without looking at existing implementations. For example, make a basic regex engine (formal Regular Expressions not PCRE expressions), or try to implement the C Preprocessor, or the JS event loop.

  • Troy@lemmy.ca
    link
    fedilink
    arrow-up
    7
    ·
    2 months ago

    https://numerical.recipes/

    The current version is in C++

    But if you check the link above, the older C and Fortran editions are free to read. This is the gold standard for numerical algorithms and scientific computing, without getting into things like GPUs and such.

  • tatterdemalion@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    There are plenty of good resources online. Here are some topics you probably wouldn’t see in an intro algos course (which I’ve actually used in my career). And I highly recommend finding the motivation for each of these in application rather than just learning them abstractly.

    • bloom filter
    • btree
    • b+ tree
    • consensus algos (PAXOS, RAFT, VSR, etc)
    • error correction codes (Hamming, Reed Solomon, etc)
    • garbage collection (mark+sweep, generational, etc)
    • generational arena allocator
    • lease (i.e. distributed lock)
    • log-structured merge trees
    • min-cost + max-flow
    • request caching and coalescing
    • reservoir sampling
    • spatial partition (BVH, kd-tree, etc)
    • trie
    • write-ahead log
  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    Honestly I would take a look through a good standard library that provides a lot of algorithms (e.g. C++ or Rust). That has the basics, especially for data structures.

    Also have a go at some hacker rank tests. Especially if you want to learn dynamic programming (abysmal name), they absolutely love that.

    • notTheCat@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      One of the biggest things I have built was a experimental 3D physics engine, it did require some memory allocation optimizations, I built a lot of stuff I cannot really list them all in here, An honorable mention would be an FPS game from scratch without a game engine.

      • ericjmorey@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 months ago

        That’s more than most SWE graduates have done, which is great! But it makes it difficult to judge what you might benefit from based on what you’ve shared.

        To answer the title question, the suggestions provided by others here are all good resources for studying algorithms, but no one mentioned Algorithms Illuminated which is of a similar quality. Choose one of these suggested resources that vibes with your learning style.

        But don’t discount the suggestions to work on new projects that are outside of your current experience and requires more than your current knowledge base to complete. Trying things you haven’t tried before really is the only way to do things you couldn’t do previously.

        Good luck!