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.
Analyste De Test Qa Interview Questions
4,430 analyste de test qa interview questions shared by candidates
Do u know which tool to use to firefox to test the css?
Basic testing questions.
What are types of testing
How many hours a week do you usually spend playing video games?
If i was interested in working and testing program
Would you be interested in working in some other field? what else can you do?
Comment réagissez-vous dans le cadre d'une charge de travail importante ?
What was your favorite bug that you've entered?
What is a clear path foul in basketball and what is the penalty?
Viewing 31 - 40 interview questions
See Interview Questions for Similar Jobs
Analyste De Test AqAnalyste Aq JuniorAnalyste De L'assurance Qualité Des Tests LogicielsTesteur Manuel Assurance QualitéTesteur Assurance Qualité LogicielleContrôle De La Qualité Des Tests De LogicielsAnalyste De Test SeniorAnalyste De La Qualité Des LogicielsAnalyste De Tests LogicielsAnalyste De Test LogicielTesteur QaAnalyste QcConsultant QaAnalyste En Assurance De Qualité Des LogicielsTesteur D'assurance QualitéAnalyste De TestResponsable Assurance-qualité Des LogicielsAssurance Qualité Logicielle