I applied through a recruiter. I interviewed at Red Hat (London, England) in Apr 2020
Interview
I was reached out by recruiter for a startup [StackRox] that got recently acquired by Redhat. He used to recruit for StackRox and continued to source for Redhat. I was told the process would be quick since it's still a startupy environment. Most of my rounds were scheduled pretty quickly. Questions were medium [leetcode] difficulty. Graphs, tries, arrays, linkedlists were covered [no dynamic-programming; no system design].
Channel allocator
Given an input of htop [process id, process name, action and type] allocate the process to a specific channel[s].
Write this function such that multiple rules can be handled and function should be flexible enough to additional rules
Data
type pid action proc
S 123 bind nginx
N 456 accept apache2
D 789 exec sh
* Send all events with type "N" to channel 1.
* Send all events for proc "nginx" to channel 2.
* Send all events with action "accept" to channel 3.
However, there can be additional rules as well. How to make this scalable?
# Given a series of string → tag pairings, construct a "compressed" output by replacing the
# longest prefix with it's respective tag. Effectively, we are replacing PREFIXES only with their tags.
I applied through other source. The process took 4 weeks. I interviewed at Red Hat
Interview
Processo lineare, uno screening al telefono, un colloquio con un HR, un colloquio con il CTO o un altro senior, colloquio con il product owner, ma poi mi hanno fermato lì
Initially had the recruiter screening, followed by 2 rounds. One with the Principal Engineer and the other with a Senior Manager. Both went well. Unfortunately, they moved with another candidate.
I applied online. I interviewed at Red Hat (Boston, MA)
Interview
Applied on LinkedIn. Contacted by tech lead a few weeks later for an interview. Video call interview (with someone other than the tech lead who contacted me) scheduled to last 30 minutes, ended up lasting about 45 minutes because I was having a good conversation with the interviewer.
Interview questions [1]
Question 1
Design a class in Python that efficiently stores a sparse vector.