1. Please write a method to normalize a string which represents a file path. For the purposes of this question, normalizing means: • all single dot components of the path must be removed. For example, "foo/./bar" should be normalized to "foo/bar". • all double dots components of the path must be removed, along with their parent directory. For example, "foo/bar/../baz" should be normalized to "foo/baz". That's it. Normally, a path normalization algorithm would do a lot of other stuff, but for this question, don't try any other kind of normalization or transformation of the path. As an example, "foo//bar" should be normalized to "foo//bar" (i.e. a no-op). Use any language you feel comfortable in, we prefer Java, but it’s not required. The method should take in a string (or whatever passes for a string in the language of your choice) and return a string representing the normalized path. Please write code that you feel proud of and would check in to source control in a professional environment. 2. Once you have completed the exercise, please create ten (or more!) test cases you would you use to test the method.
Testing Engineer Interview Questions
36,187 testing engineer interview questions shared by candidates
Testing question, Games, Testing Concepts, Projects worked
what is inner join?
I had two interviews, both at the foodpanda office. -In the first round interviewer asked me about basic JAVA concepts like: difference between overloading and overriding, what is an abstract class, when to use static final? and some simple start programming questions in java. -In the second round, the interviewer aked me to write down the sample code for login page using appium in android, jenkin, github use, framework flow, and projects that I mentioned in my resume. He also asked some questions regarding selenium grid, click , mousehover using selenium, testng. -The overall process took around 1 hour 30 minutes. -Next day HR called me about my confirmation and got an e-mail that I got the job.
What work locations and types of work would I be willing to consider?
Describe how you would approach filling up a bus with golf balls.
Circuit analysis (find equivalent resistance, voltages, your basic circuitry stuff) Op amp stuff (ideal op amp, drawing an inverting opamp, deriving gain) Coding question (I believe it was about private variables) Stats question (draw a Gaussian curve and explain standard deviation and mean) LPF (draw an RC low pass filter and derive gain )
sql queries mainly, and one vague question about round robin?
why leave your current position?
Was interviewed by a Software engineer. It was basically a "highest sum in an array" question disguised in an Oscar health context. Given an array of insulin readings for any given period. Write a function that will return true if an insulin reading is below 10. Array = [90, 92, 93, 91, 104, 102, 102, 106] The input was: Console.log(insulinReadingFunction(Array, 10) == True);
Viewing 391 - 400 interview questions