Software Engineering Intern Interview Questions in San Jose, CA | Glassdoor

# Software Engineering Intern Interview Questions in San Jose, CA

25

Software engineering intern interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Software Engineer Intern at eBay was asked...

Jan 19, 2011
 Questions related to data structures like "What data structure would you use for a browser's BACK & FORWARD ability"6 AnswersMay be Stack , any one please correct me if I am wrong.This can be implemented by using two different stacks, one for back and one for forward.Command PatternShow More ResponsesI would use doubly link listDoubly linkedListUse two stacks. Every time you visit a site, push its address in stack1. When you press back, pop from stack1 and also push in stack2. When user presses forward, pop from stack2 and also push in stack1.

### Software Engineer Intern at PayPal was asked...

Apr 25, 2012
 n= 20 for (i=0;i

### Software Engineer Intern at eBay was asked...

May 17, 2012
 Assuming a preexisting list of 100 words, how would you efficiently see if a word received from input is an anagram of any of the 100 words?4 AnswersFirst Sort 100 words and keep the hash of sorted words.. Now when you recieve a word, SOrt it and check if Hash contains that key. O(nlogn) Where n is length of String.Hi I think you can take a look at the most efficient algorithm for this question in this link www.crackeasily.com/2012/01/find-whether-2-strings-are-anagrams.htmlTo say what MW said more clearly: If you sort words that are the same anagram they will always look the same. Example: "god" and "dog" both look like "dgo". So you sort the input word, then you iterate through the list of 100 words, and while looking at each word sort that word. compare if the input and that word are the same. If they are then you have found an anagram. if you made it to the end of the list and you haven't found an anagram then an anagram does not exist in the list.Show More ResponsesSorting takes O(nLogn) average time. This can be further improved by counting characters in the strings. So, for the given string calculate count of each character in an array [256]. For each word in the list, check if it contains the same count for its characters and return that word. Complexity O(n)

### Intern - Software Engineer - Cisco Choice at Cisco Systems was asked...

Apr 5, 2012
 Write a program to reverse a string3 AnswersString reverse(String s){ int length = s.length()-1 String s1 = "" while (length >= 0){ s1 = s1 + s[length] length-- } return s1 }forget semicolumns (;), sorryPush char by char on a stack then concatenate all the pops until the stack is empty.

### Software Engineer Intern at eBay was asked...

Mar 3, 2014
 How to retrieve a file with a specific string or keyword using UNIX command line3 AnswersI knew it had some thing to do with grep but was unable to give the specific line.grep -r "expression to find"find . | grep -i "String" find is generally used to find the name of the files & Grep is used to search for content present in the file

### Software Engineering Intern at Apigee was asked...

Apr 29, 2014
 None, really, just know your concepts and you'll be fine.Be the first to answer this question

### Intern - Software Engineer - Cisco Choice at Cisco Systems was asked...

Apr 5, 2012
 Write a program to generate a PalindromeBe the first to answer this question

### Software Engineer Intern at eBay was asked...

Jan 19, 2011
 Design patterns like Strategy pattern and other commonly used patternsBe the first to answer this question

### Software Engineer Intern at Amazon was asked...

Jan 3, 2013
 All questions were straightforward and not tricky. Be the first to answer this question

### Software Engineer Intern at PayPal was asked...

May 11, 2013
 Unexpected was that I wasn't asked any typical 'Interview' question. It was mainly on the specific project I've worked on, which pretty much tells everything I know that could help them.Be the first to answer this question
110 of 25 Interview Questions

More