Technical Interview Questions | Glassdoor

Technical Interview Questions


interview questions shared by candidates

Technical Interview Questions

Sort: RelevancePopular Date

Describe and code an algorithm that returns the first duplicate character in a string?

7 Answers

Simple Python example. Not sure it's most efficient. def findDup(str): match=[] i=1 while (i

first clarify if it is ASCII or UNICODE string For ASCII, create BOOL checkArray [128] = {false}; walk the string and update the index of checkArray based of the character. for (int index=0;index< strlen(str); index++) { if (checkArray[str[index]] == true) { printf (str[index]); return; } else { checkArray[str[index]] = true; } }

public class FirstDupCharacter { public static void main(String[] args) { System.out.println(findDupCharacter("abcdefghiaklmno")); } private static Character findDupCharacter(final String input) { final Set set = new HashSet(); Character dup = null; for (int i = 0; i < input.length(); i++) { if (set.contains(input.charAt(i))) { dup = input.charAt(i); break; } else { set.add(input.charAt(i)); } } return dup; } }

Why would you recommend Monster HDMI cables versus generic brand?

4 Answers

What is your idea of reasonable turn around time for a project?

3 Answers

Given a very large existing network with thousands of external connections, how would you add an additional few hundred connections?

3 Answers

Q2: A pnp transistor with its base connected to a voltage source, the V source is connected to a +10V source. The emitter of the transistor is connected to a resistance, and then to the same +10V source. The collector side is connected to a capacitor, which is not charged at t=0-. Given the graph of Vsource = 10 V stepping up at t = 0 to further, draw the graph of Vout. Vout is between the point of collector and capacitor.

3 Answers

How would you respond to a customer who encountered a problem with a product or service.

1 Answer

They presented a demo page and asked me to streamline it to make it more interactive and presentable for a user (open to interpretation).

1 Answer

What can my past experience and education bring as Director of Operations?

1 Answer

How would you handle a system outage?

2 Answers

Discuss what advantages and disadvantages there are to Web 2.0

1 Answer
110 of 3,008 Interview Questions