Senior Software Interview Questions

75,528 senior software interview questions shared by candidates

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
avatar

Senior Software Engineer

Interviewed at Uber

3.7
Apr 26, 2020

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

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.
avatar

Senior Software Engineer

Interviewed at Bloomberg

4
Feb 1, 2021

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.
avatar

Senior Software Test Engineer

Interviewed at Monocept

3.9
Feb 25, 2019

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.

Viewing 471 - 480 interview questions

Glassdoor has 75,528 interview questions and reports from Senior software interviews. Prepare for your interview. Get hired. Love your job.