And the Lord commanded: “have an interview and accept offers”

A true story based on fictional events.
All coincidences are not accidental.
All jokes are not funny.

— Sergey, hello. My name is Bibi, my colleague is Bob and we are two... team leaders, we have been in the project for a very long time, we know all the todos by heart and today we will communicate about your knowledge and skills.
Your CV says that you are a senior, work mainly with .NET, understand asynchronous and multi-threaded programming, confidently master the basics of algorithms and data structures, have experience in both refactoring and designing large modules from scratch. And yet, one cannot help but ask this stupid question: briefly tell us about yourself?
— Hello, Bibi and Boba. I work primarily with .NET, I understand asynchronous and multithreaded programming, I have a confident command of the basics of algorithms and data structures, and I have experience in both refactoring and designing large modules from scratch. That's it in a nutshell.
- Thank you. Well, let's begin! To warm up, something simpler: what trees do you know and how to get around them?
- Oak, acacia, maple, cherry... So right away nothing else comes to mind. As for traversing the tree, you can traverse the tree from different sides: on the left or on the right. I also know that you can climb a tree and that there are hollows in trees where squirrels sometimes live.
- Fine. Then the question is - what is the difference between passing an object by reference and completely copying it?
— The difference is that in the first case the object is passed by reference, and in the second it is completely copied.
—What do you know about graphs?
— I deeply respect the work of Count Lev Nikolaevich Tolstoy; as a child I read the book “The Count of Monte Cristo.” And who doesn’t know Count Dracula?!
— What is “SOLID”?
- “Solid”, less often - “solid”. Depends on the context, of course.
— How does a garbage collector work?
- I know that too. A typical garbage collector wears bright orange overalls and safety shoes. He works mainly at night - on a garbage truck. The main task of the garbage collector is to transfer the contents of the garbage bins to the back of the garbage truck, being careful not to spill smelly garbage on the road. To summarize, we can say that the importance of waste collectors is underestimated by our society, but their work is as valuable as the work of teachers and bakers!
— And the last stupid question for today: suppose we have a spherical horse that can walk on its hind legs like a human. The knight has an execution context tied to the current space-time continuum. It is necessary to realize a pool of such horses with the ability to start military conflicts in the Middle East. How would you do this in O( n * log(n) )?
- Hmm... for starters, I would give up value judgments. I would finally realize that there is no pool of spherical horses - and the very formulation of the question would lose all meaning. I myself would become at the same time this horse, and a pool of such horses, and the Middle East. For Merged With the Eternal, O( n * log(n) ) is completely indistinguishable from O ( n ^ n ).
- Thank you, Sergey. We will call you back.
- That’s really it: you’re welcome. No need to call back.

Source: habr.com

Add a comment