What are your worst interviews you’ve done? I’m currently going through them myself and want to hear what others are like. Dijkstras algorithm on the whiteboard? Binary Search? My personal favorite “I don’t see anything wrong with your architecture, but I’m not a fan of X language/framework so I have to call that out”

Let me hear them!

(Non programmers too please jump in with your horrid interviews, I’m just very fed up with tech screens)

  • Scrubbles@poptalk.scrubbles.techOP
    link
    fedilink
    English
    arrow-up
    12
    ·
    8 hours ago

    To kick us off, mine from this week that I wrote down in another thread. In 60 minutes take an adjacency matrix as an input, good old int[][], and return all of the disjointed groups, and their group sizes in descending order.

      • eskimofry@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 hours ago

        No you just start by marking all nodes as unvisited and perform a search from a random starting node. you store the current bfs set of vertices in a sorted datastructure. Repeat until there are no more unvisited nodes.