2. We are given a list of alpha numeic Events and we need to check if it is sorted or not ? An event can either contain a letter (alpha), an hyphen '-' (should be considered as alpha and not negative) or a number. All the alpha(including '-') should be sorted before number. Two alpha should be sorted in natural order Series of numbers should be collected and compared like abc123 and abc456 is in sorted order because 123 < 456 If two numbers are same value, one with smaller length should be sorted first. Ensure handle number correctly like abc122axy99z have two numbers 122 and 99. Also number can be padded wuth zeroes. if two numbers are same value, one with smaller length should be sorted first. Example sorting order: abc is sorted before 123 123 is sorted before 456 954 is sorted before 01234 abz is sorted before axy Test Input: ["abc123hij-k","abc123hij-k","abc456hij-k","abc954hij-k","abc01234hij-k","xyz123hij-k","x123hij-k","21030003020"] Test Output: true
Sr Engineer Interview Questions
113,933 sr engineer interview questions shared by candidates
what kind on an animal would i choose to be?
A tough problem taken out of Gayle Laakman book
Phone : Given (parent, child): {1, 3}, {2, 3}, {3, 6}, {5, 6}, {5, 7}, {4, 5}, {4, 8}, {8, 10} } findNodesWithZeroAndOneParents
1) Difference between List and Set (other than uniqueness)
Coding questions involving functional concepts (relevant to this particular role)
A sentence is given with no spaces between words of the sentence. For example, "applepenpine". and a dictionary of words which are available,[apple, applepen, pen, pine]. You need to write a program to return the string with spaces inserted in between words. If it can not be done, then return some error string. Basically wordbreak.
total java questions and selenium and framework questuons asked. First asked framework questions.Telephonic round and some person called and ask questions on previous exp.total java questions and selenium and framework questuons asked. First asked framework questions.Telephonic round and some person called and ask questions on previous exp.total java questions and selenium and framework questuons asked. First asked framework questions.
Which package contains the Hashmap class
Write a program to find the second largest number in a tree.
Viewing 631 - 640 interview questions