Write a function in C that takes a string, and in-place xors the first char with the last, second with second last, etc., and after the middle part sets the char to 0. Do this efficiently. Is strlen after the function always equal to (strlen before +1)/2? When is it not?
Software Senior Interview Questions
75,771 software senior interview questions shared by candidates
Why was xyz approach used when abc could have been done?
Topological sort, Disjoint set, String manipulation and Event based system design
Build a program to play an computer game
Design a large scale web-based SoA for mobile clients with location awareness (e.g.: Uber, bike sharing, etc)
Find second largest number in a BST. Find peak element in an array using O(logn) method.
Asked to choose 2 technology area I choose OOD and Front end. Asked questions related to specific area for 15 min and had coding questions for 45 min.
The system design question was way out of my league, I am an interviewing for an embedded engineering position, instead I was asked to design a distributed network-based system. None of that applies to my domain and none of my experience helps me answer that question.
They asked me to code javascript in person in front of the development team. I am often more used to coding at my own computer or in relative privacy, but live coding is a crucial skill to practice. They asked me: Please write a javascript stopwatch in front of us, how will you do that, on jsbin, on this mac laptop we have provided?
Support questions were taken from real cases they've handled. I've seen most of the issues before, and was able to answer them immediately, others I had to google but quickly understood how to reply.
Viewing 2371 - 2380 interview questions