Junior Software Developer Interview Questions

4,371 junior software developer interview questions shared by candidates

1. A brick weighs a pound plus 1/2 a brick. How much does a brick weigh? 2. When I am as old as my father is now, I will be five times as old as my son is now. By then my son will be eight years older than I am now. The combined ages of my father and me are 100 years. How old is my son? 3. A contractor estimated that one of his two bricklayers would take 9 hours to build a certain wall and the other 10 hours. However, he knew from experience that when they worked together, 10 fewer bricks got laid per hour. Since he was in a hurry, he put both men on the job and found it took exactly 5 hours to build the wall. How many bricks did it contain? Q. given an array of N (1 >= N >= 1000) integers ranging from -1000 to 1000, write a code that returns the sign of all multiplications. E.g. [1, 4, -2, -5] Return 1 [1, 2, -2, 5] Return -1 [1, 0, -2, 5] Return 0 (since ans is 0) Q. Given a series of coins, we want to arrange them in alternative sequence of head and tails. Write a function to return minimum number of coin flips required to obtain sequence, if Heads is 0 and Tails is 1. E.g. {1, 1, 0, 1, 1} Ans = 2, since we need to flip 1st and 5th coin {1, 0, 1} Ans = 0, since sequence is correct Q. Given an array of N integers, return the biggest integer a such that a and -a are both present in the array. E.g. [-1, 1, 3, -8, -5, 4, 5] Ans = 5 since 5 is biggest out of 1 and 5
avatar

Junior Software Developer

Interviewed at Interactive Brokers

3.4
Aug 21, 2020

1. A brick weighs a pound plus 1/2 a brick. How much does a brick weigh? 2. When I am as old as my father is now, I will be five times as old as my son is now. By then my son will be eight years older than I am now. The combined ages of my father and me are 100 years. How old is my son? 3. A contractor estimated that one of his two bricklayers would take 9 hours to build a certain wall and the other 10 hours. However, he knew from experience that when they worked together, 10 fewer bricks got laid per hour. Since he was in a hurry, he put both men on the job and found it took exactly 5 hours to build the wall. How many bricks did it contain? Q. given an array of N (1 >= N >= 1000) integers ranging from -1000 to 1000, write a code that returns the sign of all multiplications. E.g. [1, 4, -2, -5] Return 1 [1, 2, -2, 5] Return -1 [1, 0, -2, 5] Return 0 (since ans is 0) Q. Given a series of coins, we want to arrange them in alternative sequence of head and tails. Write a function to return minimum number of coin flips required to obtain sequence, if Heads is 0 and Tails is 1. E.g. {1, 1, 0, 1, 1} Ans = 2, since we need to flip 1st and 5th coin {1, 0, 1} Ans = 0, since sequence is correct Q. Given an array of N integers, return the biggest integer a such that a and -a are both present in the array. E.g. [-1, 1, 3, -8, -5, 4, 5] Ans = 5 since 5 is biggest out of 1 and 5

Viewing 2801 - 2810 interview questions

Glassdoor has 4,371 interview questions and reports from Junior software developer interviews. Prepare for your interview. Get hired. Love your job.