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.
Software Quality Test Engineer Interview Questions
87 software quality test engineer interview questions shared by candidates
1.Java pgm on matrix 2.DB qns 3.Selenium qns on List,findElements 4.API releated qns
While waiting for my telephone interview and sitting here for 23 minutes, I went on GlassDoor.com and researched the company. It turns out the company is notorious for being late on telephone interviews and I have read over some very bad experiences from other candidates.
SQL API SHELL UNIX PYTHON
Difference between a SAN and NAS
Most questions were related to previous experience,along with basic questions for the skills for which they are hiring,few puzzles and few onshore rounds from MD,VP ,HR VP and all
Was given an exaple of test code and I was asked what is bad in this code
Constructors in Java, Smoke and Sanity testing, Continous Integration, Agile and Sprint
1. Write a program to compare weather of two different cities. Call weather info API and use city names at command line as inputs and display output in 2 words good/bad weather. 2. Read a JSON file and arrange the output according to given criteria.
Smoke sanity
Viewing 1 - 10 interview questions