Resume
Resume
Work Experience
• Suggested product/feature enhancements to developers and
product management and participated in daily scrums
1. Do you have any experience in testing and doing automation on mobile device? What did you
do?
2. Why do you leave your current position?
3. Where are you right now at interviewing?
4. Have you done any perf testing before? Can you explain how you’d like to test it?
5. Please write a function that take an array of x+1 integers between 1 and x as argument and
the array has at least one duplicate integer.
1. Please print all the integers that are duplicate. Please give as many solutions as possible.
2. For these methods, which is better and why?
http://www.quora.com/What-are-the-best-programming-interview-questions-youve-ever-
asked-or-been-asked
My solution:
a = [2,3,2,5,5,1]
b=[False,False,False,False,False,False]
for i in a:
if b[i] == True:
print i
b[i]=True
for x in xrange(len(a)):
for y in xrange(x + 1, len(a)):
if a[x] == a[y]:
print a[x]
c=set()
for x in a:
if x in c:
print x
else:
c.add(x)
6.PhoneNumbersToWordsAnswer
0 = none (in some telephones, "OPERATOR" or "OPER")
1 = none (in some older telephones, QZ)
2 = ABC
3 = DEF
4 = GHI
5 = JKL
6 = MNO
7 = PQRS (in older telephones, PRS)
8 = TUV
9 = WXYZ (in older telephones, WXY)
int x = 2
abc
x = 23
ad ae af bd be
[2,3]
answer: https://eightball.apple.com/pep-perf/index.php/PhoneNumbersToWordsAnswer
tail recursion: how to optimize?
Please write a function that take an array of x+1 integers between 1 and x as argument and the
array has at least one duplicate integer.
1. Please print all the integers that are duplicate. Please give as many solutions as possible.
2. For these methods, which is better and why?
import java.util.*;
int counter = 0;
//if(counter == 1)
//{
continue;
System.out.println("Duplicate: " + numbers[i]);
counter++;
//}
}
counter;
}
}
}
4. Introduce yourself
More doing routing and switching. Do more TCL. Also some experience with perl. Some
Perl need time to pick up. But not much python pretty comfortable with Python. Maybe
two weeks learning.don’t like phonemna of juniper. He wants to stay longer. Each jump
has its reason
5. What do you know about Spirent? Why do you want to join Spirent?
Have been use the spirent’s testcenter. Spt1000ia. Spt1000. Smartbit. Test routing/application
level. Video quality analyzer. Very familiar with Spirent’s product.
6. Why do you want to leave your current employer?
7. What will you do if you don’t know how to solve a problem?
Challenge by some . ask around go to internet. Most cases, get answer. Ask coworkers and
developers. Do a lot testing see what the problem is. Write up ananlysis. Share with others. I
suspect this bug is because of something wrong in the code.
8. How do you solve conflicts at workplace?
Easy going guy. Everyone is working on it professional. Bear with it. Otherwise talk to the boss.
Have not seen this much. Have seen roude boss. Some roude developers. Have worked with
them, it is better. For example, confilicts comes from priority. First not taking it personal. I have
so many tasks only 3hrs. Ask manager the priority. Don’t conflict with people. Do the
communiction. Conflict with testing the equipment. Talk about it with the boss. Engineer can do
the job. Leave it to the boss. In the team, don’t want to complain but remain good relationship.
9. His appearance/cooperation/follow-up email
Test:
1. What is software testing? What are the different types of testing? This is an open-ended
questions, just try to elaborate as much as possible.
Blackbox not seeing inside the code. Not sure about the code is ok. Do the test and observe the
results. Whitebox: Look into the code. Tweek the result. Whenever find the results and talk with
the developers. In most company, no whitebox testing at all. Developers do the whitebox
testing. Don’t have any experience with whitebox testing. No developer job experience before.
Do have a lot of experience with writing functional testing cases. Use api but not developing api.
Web gui testing. Not much doing.
http://www.codeproject.com/Tips/351122/What-is-software-testing-What-are-the-different-ty
2. How do you troubleshoot a mobile device which runs out battery fast?
y-t chart on how it works. Go into settings, turning off them related to battery consumption.
Disable gps, it is lasting longer have the longer battery life. Closing apps, make request, making
sure the os is minimal state. Logs. Not thinking of tcpdump pcap.
3. How do you test a water bottle?
http://www.softwaretestingtricks.com/2007/05/how-to-test-water-bottle.html
Can you write it on the whiteboard with whatever language you wish to use?
-Functionality – capacity, it holds water, has a lid, it stands
-performance – it does not leak for an extended period of time. Maybe a year. The lid does not
leak.
-Physical stress test -
Tools:
1. What issue and project tracking system have you used? Are you familiar with Rally?
2. Github: have you used git tools before?
What did you use them for?
How do you use git rebase? http://infinitemonkeys.influitive.com/a-simple-explanation-for-git-
rebase/
3. Continuous integration/deployment: have you used Jenkins before? How do you use it?
Coding:
1. What programming language do you usually use? How is your python skill?
2. What is Singleton? How to implement it in Python?
3. What are the major data structures in Python?
4. What is slicing?
5. Given A=[1,2,3,4], how do you create a list with the last three elements of A using slicing? A[-3:]
How do you create a list with everything except the last three items of A using slicing? A[:-3]
6. How do you reverse a string in python? Please provide as many ways to do it as possible. a[::-1],
''.join(reversed(a)),
7. What is the difference between python 2 and python 3? Which version of python do you use?
Why?
8. What is the difference between xrange and range function in python 2?
http://stackoverflow.com/questions/94935/what-is-the-difference-between-range-and-xrange
9. How do you measure the time efficiency of code in python? python -m timeit 'for i in
xrange(1000000):' ' pass'
10. What is iterator/iterable/iteration in python?
11. Python Lambda, filter, reduce and map: http://www.python-course.eu/lambda.php
12. What is python generator?
13. Please write a function that take an array of x+1 integers between 1 and x as argument and the
array has at least one duplicate integer.
3. Please print all the integers that are duplicate. Please give as many solutions as possible.
4. For these methods, which is better and why?
http://www.quora.com/What-are-the-best-programming-interview-questions-youve-ever-
asked-or-been-asked
My solution:
a = [2,3,2,5,5,1]
b=[False,False,False,False,False,False]
for i in a:
if b[i] == True:
print i
b[i]=True
for x in xrange(len(a)):
for y in xrange(x + 1, len(a)):
if a[x] == a[y]:
print a[x]
c=set()
for x in a:
if x in c:
print x
else:
c.add(x)
14. How do you swap two numbers? Without using temporary variable?
http://www.geeksforgeeks.org/swap-two-numbers-without-using-temporary-variable/
15. What are overloaded methods? https://www.udemy.com/blog/oop-interview-questions/
16. What does it mean to override a method? https://www.udemy.com/blog/oop-interview-
questions/
17. What is an abstract class? https://www.udemy.com/blog/oop-interview-questions/
18. What are static functions? https://www.udemy.com/blog/oop-interview-questions/
19. Do you know sql?
How to select first 5 records from a table?
in Oracle,
SELECT *
FROM EMP
WHERE ROWNUM <= 5;
In SQL Server,
Brainteaser:
1. 9 balls, one is defective, 3 times use a scale to determine which is defective:
weigh A vs B and B vs C.
if A and B are equal, then C contains the imbalance.
if B and C are equal, then A contains the imbalance.
if both are imbalanced, then B contains the imbalance.
We can now reference the two balanced groups to determine if the defective ball is heavier or
lighter.
So for this instance, we will suppose A contains the imbalance.
if A weighed less than B, the defective ball is lighter, otherwise, it is heavier.
Now split the imbalanced group (A) into three balls D E and F.
weigh D and E together.
If they are equal, then F is defective, otherwise, since we know by now if it should be heavier or
lighter, we can determine if the one that rises or lowers on the scale is defective.
Communications:
1. 3G state machine:
2. LTE state machine:
Ending:
1. I see some gaps between some of your employment. Especially, the one between 2003 and
2005, could you let me know what you were working on in that period?
2. Do you have any questions for me?
Please write a function that take an array of x+1 integers between 1 and x as argument and the
array has at least one duplicate integer.
1. Please print all the integers that are duplicate. Please give as many solutions as possible.
2. For these methods, which is better and why?
1,1,2,2,2
input: 1, 2, 2, 2, 1
output: 1, 2
x+1
System.out.println(duplicates);
}
###
each element add key if it does not exist and add val as 1
if it exists increment by 1
for(int i=0;i<arr.length();i++)
{
if(hm.contains(arr[i]){
hm.put(arr[i],hm.get(arr[i])+1);
if (hm.get(arr[i])==2) System.out.println(arr[i]);
}
else{
hm.put(arr[i],1);
}