Hand over heart, would you if an interviewer sat you down right now be able to write. >DFS. >BFS

Hand over heart, would you if an interviewer sat you down right now be able to write
>DFS
>BFS
>Graphing algo of choice
>Quicksort
>Mergesort
>Hashmap & hash function of choice
From memory?

POSIWID: The Purpose Of A System Is What It Does Shirt $21.68

It's All Fucked Shirt $22.14

POSIWID: The Purpose Of A System Is What It Does Shirt $21.68

  1. 1 month ago
    Anonymous

    probably dfs and bfs but none of the others

  2. 1 month ago
    Anonymous

    do i need to do all of this to make six figures?

    • 1 month ago
      Anonymous

      No.

      No.

      Lmao remembering random algos like a fricking monkey doesn't make you a good programmer.

      Correct.

      Testing is always more important than leetcode parlor tricks. An interviewer should be asking about TDD and pair programming, which are more conducive to writing high quality software than implementing a worse version of an algorithm.

      • 4 weeks ago
        Anonymous

        >TDD and pair programming
        what're those?

    • 1 month ago
      Anonymous

      6 figures is literally nothing now, current equivalent to what "6 figures" culturally used to mean is about 350-400k

      • 1 month ago
        Anonymous

        i can live off of six figures
        >buy good car outright ($20k)
        >don't get starbucks everyday
        >cook own meals
        >no gf or friends
        >invest 10% of it
        i can probably live off $50k if i can make it

        • 1 month ago
          Anonymous

          you can easily live on 100k or less, it's just that "I make 6 figures" used to be a thing to brag about and a goal to aspire to, a milestone of being a high earner

          but now it just isn't. it's the same as making 50k 20 years ago. which nobody would have seen as an especially big milestone back then or a marker of a successful life.

          the number these days is more like 350k-400k. at that point you can start to live a completely different lifestyle and have totally different financial goals, unless you're in nyc or the bay area in which case you're still middle class. the milestone in places like that is more like 600-700k.

          • 1 month ago
            Anonymous

            i can live off of six figures
            >buy good car outright ($20k)
            >don't get starbucks everyday
            >cook own meals
            >no gf or friends
            >invest 10% of it
            i can probably live off $50k if i can make it

            I don't know why people care about those arbitrary numbers so much.
            I don't make anywhere close to that and I live a very comfortable life.
            But then again, I live in Europe.

          • 1 month ago
            Anonymous

            it's really not an arbitrary number at all, it's a number that represents thresholds of various styles of living. the same as going from a flat in a bad part of of a bad city to a house in a nice part of a nice city and every step along the way.

          • 1 month ago
            Anonymous

            Yeah, but it's all shades of grey.
            There's no well defined values where you jump from one class to another.
            Also, different people have different aspirations.

          • 1 month ago
            Anonymous

            this is literally moron tier insight. nobody thinks earning $99.999 and $100.000 is significantly different. and yes there is a vast difference in the quality of your life if you earn 500k and 20k even if you have different aspirations. lol. why would you even make this post.

          • 4 weeks ago
            Anonymous

            >I don't know why people care about those arbitrary numbers so much.
            >I don't make anywhere close to that and I live a very comfortable life.
            >But then again, I live in Europe.
            I actually moved from America to Europe, mainly to be closer to my wife's family, but when you do the math living in Europe is pretty awesome if you're not trying to be a billionaire. For a good comparison:
            Europe Software Developer income: 60k after taxes
            American Software Developer income: 120k after taxes
            ---
            Childcare in Europe: 300 per child per month
            Childcare in America: 3000 per child per month
            Healthcare in Europe: Free with an option to pay for faster treatment
            Healthcare in America: 10k per year to cover your family if you work for a major employer, otherwise it's 15k/yr because you don't have negotiating leverage.
            Rent in a 90% white Walkable City in Europe: Easily 500/month for a single person, 1000/month for a family depending on space and place
            Rent in a 50% white Walkable City in America: Very few available, if you can find it the starting is 3k/month for a single person, 6k/month for a family size.
            Food in Europe: GMO free and half the price
            Food in America: Expensive and if prepared it's made by beaners that hate your guts
            ---

        • 1 month ago
          Anonymous

          I live off 4 figures. All of my fixed expenses add up to $2500/yr, everything else is play money.

          • 1 month ago
            Anonymous

            i don't want to live with my parents or in a homeless shelter

  3. 1 month ago
    Anonymous

    Lmao remembering random algos like a fricking monkey doesn't make you a good programmer.

    • 1 month ago
      Anonymous

      None of these are hard to remember and can be derrived from just coding by the seat of your pants. The issue comes if you have some exception case or non optimal solution because the interviewer expects you to have memorized the actual solution and you struggle to find it.

      There's no shame in memorizing it's a very large chunk of learning. Tell me, do you remember off the top of your head how many bits a byte is? How about a long?This is obviously memorization but it's also just basic knowledge.
      The basics of algorithms like OP mentioned is practically just basic knowledge and people who understood datastructures if they took it as a class or ground out some leet code are likely to remember the implementations pretty handedly

      • 4 weeks ago
        Anonymous

        What are you talking about? Quicksort, hash function, etc is not something you just know because you understand data structures. Do you seriously not see a difference in knowing how many bits are in a byte vs a particular set of steps to manipulate data in a specific way?
        You can understand what sorting is and implement it in some manner, but then homosexual op will sójface at you because it's not the thing he memorized by heart so you should too. L
        I'm just calling Sort() and don't give a frick. Nobody is paying me for rewriting standard libraries.

        • 4 weeks ago
          Anonymous

          if you have never taken a datastructures course either online or at a school or bothered with leetcode then it makes sense you think these things are nuanced or complex. In reality they're all pretty trivial and fundamental, the code isn't even that long for any of them. If you write them a few times and understand what is going on you will know them pretty well, like I said memorization (and then practice) is a big part of learning.

          >I'm just calling a function
          ok that's fine but you have now discovered a key difference between dev work and say, engineering. I don't know why knowing how things work or knowing a lot about a field is somehow stigmatized on this board.

      • 4 weeks ago
        Anonymous

        Goddamn homie. That's a lot of words just to say nothing.

        • 4 weeks ago
          Anonymous

          >they're fundamental concepts
          >you out yourself as someone who doesn't know what they're talking about
          >still trivialize something
          >admits to being filtered and doesn't eant to know why
          surely this is my problem

  4. 1 month ago
    Anonymous

    >Yes
    >Yes
    >Yes
    >Would require a lot of thinking
    >With some thinking
    >Something that works like a hashmap without the good time complexity

  5. 1 month ago
    Anonymous

    Why would I need to do that from memory? Just ask chatGPT how to do that and copy paste.

  6. 1 month ago
    Anonymous

    Instead of writing code I'll make the interviewer sit down and listen all the war stories about inane client requirements like 100% test coverage in a legacy project, about managers insisting to deliver a feature that would be used by exactly 1 employee (who left the company a week after the deadline), about broken pipelines and single-node k8s clusters.
    I will not let the interviewer leave before I'm finished.

    • 1 month ago
      Anonymous

      Probably not, I've been at my current job for three years now and the last time I used those was when I practiced leetcode to get this one (the interview had no whiteboard test).

      This. War stories are usually a good bet.

  7. 1 month ago
    Anonymous

    Maybe but I would walk out of an interview if they wanted me to do all that. My time is valuable and if they can't trust what I put on my resume then I don't want to work for them. An interview should be about assessing the applicant's personality; i.e., whether or not they would be a good fit for the company. The only reason interviews have gotten so ridiculous is because employers have been hiring shitty people.

  8. 1 month ago
    Anonymous

    >>DFS
    yes
    >>BFS
    yes
    algo of choice
    what is a graphing algorithm

    no, but i can do insertion sort
    & hash function of choice
    most easily, with my eyes closed

    • 1 month ago
      Anonymous

      Graphing is like maps, flood filling, Djikstra, A*, etc

      • 1 month ago
        Anonymous

        i think i could figure it out

  9. 1 month ago
    Anonymous

    >if an interviewer sat you down
    Like a parent does a child? Ha

  10. 1 month ago
    Anonymous

    These aren't standard jeetcode questions. Jeetcode wants you to memorize dynamic programming questions like its an entrance exam.

  11. 1 month ago
    Anonymous

    >Yes
    >Yes
    >No
    >Yes
    >No
    >Yes

  12. 1 month ago
    Anonymous

    Certainly.

  13. 1 month ago
    Anonymous

    Yes, those are all piss easy if there are no additional requirements.
    Hash function in particular, just use x % n lmao.

  14. 1 month ago
    Anonymous

    Interviewers have been stepping up their game, rumors of junior intern positions requiring their applicants to write time/space optimized laplace transforms IN C in <30 minutes

  15. 1 month ago
    Anonymous

    Yeah I have copilot in my editor so I'm good to go.

  16. 1 month ago
    Anonymous

    >>DFS
    Yes
    >>BFS
    Yes
    algo of choice
    I'd likely struggle to write them from memory, but would be able to describe important ones (dijkstra's, minimum spanning tree, topological sort...) and know when to use them.

    Would struggle to write a complete and correct version, but could explain the steps (pivot, partition, recurse).

    No, I forget how that one goes.
    & hash function of choice
    Yes, this is actually quite easy if you thoroughly understand how they work. Wouldn't be a GOOD hash function, but I'd admit that.

  17. 1 month ago
    Anonymous

    >DFS
    no
    >BFS
    no
    >Graphing algo of choice
    no
    >Quicksort
    no
    >Mergesort
    no
    >Hashmap & hash function of choice
    no
    I don't know what half of this shit means. Still employed at a comfy backend job though so I'm not too worried. I think it's cool to be able to do all of that though.

    • 1 month ago
      Anonymous

      >

      https://i.imgur.com/FU6pr6s.jpg

      Hand over heart, would you if an interviewer sat you down right now be able to write
      >DFS
      >BFS
      >Graphing algo of choice
      >Quicksort
      >Mergesort
      >Hashmap & hash function of choice
      From memory? (OP)
      >>DFS
      >no
      >>BFS
      >no
      Learned this in my first semester of pascal. I have done it in C a few times, but its basically useless in production code. Useless.

      algo of choice
      >no
      This is also extremely trivial.

      >no
      No one uses this unless it all fits in memory, and even then with a medium sized data set, its a waste... you save 0.1 seconds. No one cares.

      >no
      This is the tool used for mega datasets and mega data minind. I always use the Fibonacci version, and it starts a bit slow, but as the merges grow in size, it out strips everything.

      & hash function of choice
      >no
      Trival again.

      How about you covert a microservices server to a monolithic reentrant chunk that works in cache? You can scale a server 100x with that, and that is useful.

      >I don't know what half of this shit means. Still employed at a comfy backend job though so I'm not too worried. I think it's cool to be able to do all of that though.

      Its all about the performance when you have to scale. Most back-ends are so shitty... that you can remain comfortably employed at that level stringing on your company for years.

      I hang with people like Norm Meyrowitz, who actually listen to what I say, and yes, He is a super genius.

  18. 1 month ago
    Anonymous

    >yes
    >yes
    >yes
    >no, computer does it for me
    >no, computer does it for me
    >yes

    as for sorting functions, just iterate through the list and binary search insert it into a sorted list
    O(n log n) - same time complexity as your fancy algorithm

  19. 1 month ago
    Anonymous

    I can only do fizzbuzz, will I get the job?

    • 4 weeks ago
      Anonymous

      Unless you can write a FFT in Haskell it’s permanently over

  20. 4 weeks ago
    Anonymous

    None of these. The reason? I don't know shit about computers.

  21. 4 weeks ago
    Anonymous

    idk what you mean by graphing algorithm but other than that yeah.

  22. 4 weeks ago
    Anonymous

    no
    but through improvising im likely to invent something...

  23. 4 weeks ago
    Anonymous

    yes
    my hash function of choice would be just summing all bytes

  24. 4 weeks ago
    Anonymous

    Nope.
    I am a chemistry research fellow, why the frick would they ask me any of that?

  25. 4 weeks ago
    Anonymous

    i would spell spaghetti during the interview and would pretend to have misheard the interviewer and just describe the algorithms and how they work.

  26. 4 weeks ago
    Anonymous

    Yes.

  27. 4 weeks ago
    Anonymous

    I can do all of that if they are going to pay me to do it
    free labour, whether it's interview or not is slavery

    • 4 weeks ago
      Anonymous

      It’s a privilege to work for us chud! You should be paying us to give you experience!

      • 4 weeks ago
        Anonymous

        yeah yeah thanks see ya wagies

Your email address will not be published. Required fields are marked *