Software Junior Interview Questions

12,131 software junior interview questions shared by candidates

9 questions in total: 6 theoretical, 3 coding. theoretical Qs included static analysis ex: what this code produces or prints, or whats the problem with the following code, or whats the value of x after execution. Code questions: 1. DNA complement: given a string with length n, made up of A, B, C ,D, change every letter according to the rules, ex: A becomes B, B becomes D and so on. input: AB -> output: BD 2. given a number num, two adjacent digits can be swapped if they are both odd OR if they are both even. find the largest number than can be created from swapping digits (unlimited swap operations). 3. Given a binary string, find the number of substrings that contains equal number of 0's and 1's and all 0's and 1's are grouped together, for ex: 1100 is a valid substring, but 0101 isn't (although number of zeroes are equal to ones, but the digits aren't grouped together)
avatar

Junior Software Engineer

Interviewed at Dell Technologies

3.7
Sep 5, 2022

9 questions in total: 6 theoretical, 3 coding. theoretical Qs included static analysis ex: what this code produces or prints, or whats the problem with the following code, or whats the value of x after execution. Code questions: 1. DNA complement: given a string with length n, made up of A, B, C ,D, change every letter according to the rules, ex: A becomes B, B becomes D and so on. input: AB -> output: BD 2. given a number num, two adjacent digits can be swapped if they are both odd OR if they are both even. find the largest number than can be created from swapping digits (unlimited swap operations). 3. Given a binary string, find the number of substrings that contains equal number of 0's and 1's and all 0's and 1's are grouped together, for ex: 1100 is a valid substring, but 0101 isn't (although number of zeroes are equal to ones, but the digits aren't grouped together)

Viewing 9981 - 9990 interview questions

Glassdoor has 12,131 interview questions and reports from Software junior interviews. Prepare for your interview. Get hired. Love your job.