easy coding file i/o problem
Production Engineer Interview Questions
1,940 production engineer interview questions shared by candidates
Two easy leetcode style questions
Coding round: matching open-close brackets in a string. #20 2 csv files are given, have the same primary key column in both, have to take a column from each fcsv file, compute a new variable for each row, and print the rows based on decreasing order of this new row. systems round: what happens when a user searches for a website, (www.cheetos.com) questions about http(s) security, tcp handshake, dns resolution what happens on the webserver side when user makes a request Heavy load on single webserver, loadbalancing, scaling, distributed system concepts, 400, 500 errors and troubleshooting those errors, synchronisation of data in those webservers.
Coding questions, they were more systems-oriented than I expected.
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()
When are you available to come in for an interview?
- Filter logs with some python script and create a structure for it
What is such and such memory? What data structures do we use? What command would you use to create a process in such and such memory... Why would a process die or not die. Kill vs Term, how will you do it in C?
Describe your past failure (s) and what did you learn from it?
Viewing 1591 - 1600 interview questions