Coding Interview: Q1: Algorithmic question on arrays. Q2: Data extraction from files and filtering. Systems Interview: General questions about operating systems, memory allocation and swapping.
Production Engineer Interview Questions
1,940 production engineer interview questions shared by candidates
what will happen when we type ls in terminal design a system to browse internet (for system design)
Q: Tell me about Swap in Linux Q: Assume you know a FB server is very slow, how you troubleshoot?
I recommend on reading Linux internals like memory, CPU interrupts.
Unix and Linux systems, Kernels etc. High level discussions around these topics.
how virtual memory is managed on Linux
Tell me about your latest work
Algorithm. Troubleshooting
Q1: Given the following function works, what are the problems that you can identify? How would you improve on said problems? const items = [ { type: ‘phone’, color:’gold’, device: ‘Nokia’}, { type: ‘phone’, color:’bronze’, device: iPhone}, { type: tv, color:’brown’, device: Sony} ] const excludes = [ {k: ‘color’, v:’gold’}, {k: ‘type’, v:’tv’} ] function applyFilter(items, excludes) { excludes.forEach(pair => { items = items.filter(item => item[pair.k] !== pair.v) } return items } --- Q2: How would you construct the Emitter object? Emitter emitter = new Emitter(); Const sub = emitter.subscribe(‘event_name’, callback) Const sub2 = emitter.subscribe(‘event_name2’, callback2) Const sub3 =emitter.subscribe(‘event_name3’, callback) emitter.emit(‘event_name’, ‘foo’, ‘bar’, ‘baz’); sub.release() sub2.release() sub3.release()
Linux kernel questions.
Viewing 1551 - 1560 interview questions