Software Development Engineer Co-Op Interview Questions | Glassdoor

# Software Development Engineer Co-Op Interview Questions

9

Software development engineer co-op interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### 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 Development Engineer Co-Op at Amazon was asked...

Apr 30, 2012
 What is a binary search tree and how to get an ordered array from the tree1 AnswerDo inorder traversal

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

Jul 7, 2011
 Design a function that will return a pointer to the n-th element from the end of a linked list.1 AnswerNote, this is NOT a doubly linked list. You can only transverse in one direction, from head to tail. Assume the list is not circular, but bonus points if you can write a function that will also detect if the list is circular using the tortoise and hare algorithm.

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

Jul 7, 2011
 Design an algorithm to compute the even parity bit for a binary input of any size.1 AnswerYou must use some combination AND, OR, XOR, bitwise shift left and bitwise shift right.

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

Jul 27, 2010
 write a c program to find the average off the top half of N numbersBe the first to answer this question

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

Jul 27, 2010
 Given a list of names in a file choose a random name .Be the first to answer this question

### Software Development Engineer Co-Op at Pictometry International Corp. was asked...

Aug 21, 2016
 Tell me the best project (from the resume) that you have worked on. Explain the architecture you used or algorithms involved and the technologies you used.Be the first to answer this question

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

Jul 27, 2010
 Hashing, trees ....basic questions about data structures and algorithms.Be the first to answer this question

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

Jul 27, 2010
 Most recent programming challenge?Be the first to answer this question
19 of 9 Interview Questions

More