Developer Interview Questions

269,007 developer interview questions shared by candidates

You are given an alphanumeric string. Complete the function sortSegments that will segment the string into substrings of consecutive letters or numbers and then sort the substrings. For example, the string "AZQF013452BAB" will result in "AFQZ012345ABB". The input letters will be uppercase and numbers will be between 0 and 9 inclusive.
avatar

Software Developer

Interviewed at AQR Capital Management

4
Jun 21, 2017

You are given an alphanumeric string. Complete the function sortSegments that will segment the string into substrings of consecutive letters or numbers and then sort the substrings. For example, the string "AZQF013452BAB" will result in "AFQZ012345ABB". The input letters will be uppercase and numbers will be between 0 and 9 inclusive.

Viewing 681 - 690 interview questions

Glassdoor has 269,007 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.