Software Internship Interview Questions | Glassdoor

Software Internship Interview Questions

89

Software internship interview questions shared by candidates

Top Interview Questions

Sort: Relevance Popular Date

You have two decks of cards, one normal 52-card deck and one 104-card deck with double every card. Is one deck better than the other if you wanted to get two black cards in a row?

3 Answers

Yes, you would want to choose the 104-card deck.

With 52-card, probability is 12/204, with 104-card, probability is 25/412. The latter one is bigger

104 card deck has higher probability. For 104 cards: (52/104)*(51/103) = 0.24757 For 52 cards: (26/52)*(25/51) = 0.245098

How would you count the number of words in a string consisting of uneven number of spaces between words( not dictionary words)? With and without library functions.

3 Answers

Write codes for the Nth Fibonacci number.

3 Answers

Given an array of positive and negative numbers, give an algorithm that would find the sequence of numbers that give the largest sum. The numbers have to be in sequential order.

2 Answers

what was a technical difficulty and how have you overcome it.

2 Answers

What is the angle between hour hand and minute hand at 3.15?

2 Answers

What would you name this function and how would you optimize it?

2 Answers

What is the difference between a Class in C and an Object in C++?

2 Answers

What is the difference between a signed and unsigned integer variable type?

2 Answers

Given two arrays one with expected numbers and other with actual numbers determine which number is missing in the actual array

2 Answers
110 of 89 Interview Questions