Co op Interview Questions | Glassdoor

Co op Interview Questions

3,017

co op interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Apr 26, 2015

Institutional Brokerage Co-op at Susquehanna International Group (SIG) was asked...

Dec 4, 2012
 On the phone was asked two simple probability questions. What is the probability of being dealt a pair of cards? What is the probability of rolling the same side of a dice three times in a row.6 Answers1/17 and 1/36I think the second answer is 1/216 . Please explain ?The reason it is 1/36 is because it does not specify which side it must be. Therefore the first roll does not really count. Once you take the first roll it will decide what you need to roll the next two times. Therefore the math is 1*(1/6)*(1/6)= 1/36. If they asked what is the probability of rolling a 6 three times in a row then it would be 1/216.Show More ResponsesWas asked the card question also. For a pair of cards to be dealt from a 52card deck is 3/51. So first card drawn doesnt matter so you have 3 cards out of the 51 cards left that will match the first hence 3/51 as the probabilityAndyPeter

Industrial Engineering Co-Op at Siemens Gamesa was asked...

Oct 8, 2018
 If you were a baker and I was to ask you to bake me a cake what would you do?5 AnswersAsk lots of questions, ensure you are meet all deliverables.I giveSurely I giveShow More ResponsesFirst off i will need more info. What type of cake, what flavour, do you like fancy dressings on the cake, must the cake be one tier or more, do you want sprinkles on it. What shape must the cake be. For how many people. After all the info only then i can bake the cakeI will bake

Software Developer Co-Op at Susquehanna International Group (SIG) was asked...

Jan 14, 2014
 Write a function that is passed a string and determines whether or not the string is a palindrome. (They had me write on the whiteboard in front of them.)4 AnswersI used for-loops and character arrays and got the question right.I think the double index way is pretty neat. for(int i=0,j=n-1;iI think the double index way is pretty neat. for(int i=0,j=n-1;iShow More ResponsesI think the double index way is pretty neat. for(int i=0,j=n-1;i < j;i++,j--) if(s[i]!=s[j]) return false; return true;

Feb 17, 2011

Software Development Engineer Co-Op at Amazon was asked...

Apr 30, 2012
 How to print a link list reversely3 AnswersThe simplest solution would be: 1. Traverse a linked list from head to tail 2. During traversal, push all the elements of the node into a stack 3. Once the traversal is done, pop all elements and this will print the linked list in reverse order ... Looking fwd for an optimized solution ...void printLLreverse(Node *headNode) { //this is going to just iterate through the LL //add each element to a stack and //print the stack when we are finished stack llStack; Node* currNode = headNode; while(currNode) { llStack.push(currNode->data); currNode = currNode->next; } while(llStack.size() > 0) { cout << llStack.top(); llStack.pop(); } }the stack solution is good, you can also use recursion void printReverse(ListNode node) { if(node == null) return; printReverse(node.next); System.out.println(node.value); }

Software Developer Co-Op at Susquehanna International Group (SIG) was asked...

Jan 14, 2014
 If you were given two words and needed to determine if the words were anagrams, how would you go about doing this?3 Answerssort both words and compare them letter by letter.Use a hash table, like a unordered_map then loop over one word to record the number of times of each char. Use the table and loop over the second word to see if they have some set of chars with same number of times of occurrence. If the word is ascii then an integer array of length 256 can be used as the hash table.Sorting sucks, it takes nlogn Instead use a frequency array: int f[26]; for(char c:s) f[c-'a']++; for(char c:t) f[c-'a']--; for(int i=26;i--;) if(f[i]) return false; return true;

Software Engineer Co-Op at RailComm was asked...

Oct 3, 2012
 When is the right time to optimize the code?2 AnswersAfter you finish all the minimum implementation of the project.From scratch writing as possible as optimized is good. After completing the logic and everything is ok reoptimizing might be necessary

Engineering Co-Op at DTE Energy was asked...

Jan 2, 2014
 Name a situation where you were leading and one of your teammates didn't show interest and was planning on leaving the class2 AnswersHow was the starting rate?How much was the starting pay?

Engineering and Integrated Supply Chain Positions (, Co-op, and Full-time) at Cummins was asked...

Oct 5, 2016
 Basic behavioral questions such as: 1. Tell me something about yourself 2. What are your career goals 3. Describe a situation where you disliked one of your team members 4. Tell us about a time you were overwhelmed by a project you were leading or working on 5. Tell us about a time when things didn't go as you planned2 AnswersCan you please tell the functional interview questions?How long did you wait for the functional interview after the behavioral one?
110 of 3,017 Interview Questions

More