Write a function to compact a string in place: A. strip whitespace from the string. B. remove duplicate characters if they are next to each other
Software Engineer Ii Interview Questions
3,978 software engineer ii interview questions shared by candidates
1. Brainbench test was mostly based on Core C++ and STL. 2. F2F discussion was on C++ Fundamentals, STL, Design Patterns. 3. Practical assignment was to implement a Simple Game, they already had some part of it implemented and some of the part was to be implemented by you. You are allowed to change the already implemented part. 4. In VC most of the questions were focused on the solution of the assignment. Like the thinking, the design you made, why you choose to implement the same design?, what could be the improvements? How you tested your code etc.
Find the kth smallest number in an unsorted array with minimum complexity.
Logically fairly simple, but some questions involved more uncommon data structures. Not easy, but simple if you're well-prepared.
How do you detect and avoid memory leak?
All general Behavioral questions. One phone interview on campus. Very basic questions asked. Not tough at all. Just go through the resume and basic data structures questions.
Simulate a passport office application
When was the last time you held a job?
How do you swap variables without using a temporary variable? Assume the variables are always integers.
Difference between variable hiding and shadowing
Viewing 31 - 40 interview questions