I honestly didnt know what to expect going into it. Since it's not a software engineer role. I figured it would be simpler than those SWE type of questions. And I was right
Basically had to parse a text file and return the devices with the highest output.
My solution was to iterate through the file and create a dict with the hostname/interfaces as the key (so they'll all be unique) with the output as the value.
I fukked up because I forgot the syntax to order a dictionary
i knew the method to use was
sorted(), the problem was sorting a dictionary works different since they are orderless. I needed to use specific arguments in the method but my mind went blank
. Looking at it now Im pretty sure thats why this type of question was asked because it looks easy on the surface until you get to the details.
The interviewer knew what I was trying to do and understood I just forgot the args for the syntax. basically his feedback decides if they push me forward
To be honest I'm really only interested because of the potential $$$ day. I can pretty much be setup for life career wise and use the bread to get into real estate start my own business and eventually drop out of the game.
Im not holding my breathe though but it is good experience . I'll update once I get more feedback