Nextlabs Java Engineer Interview Questions & Reviews
Updated Jan 12, 2012 – Interview questions and reviews posted anonymously by interview candidates.
|
Difficulty Rating [?] Based on 1 ratings |
Interview Experience [?] Based on 1 ratings
|
Nextlabs has 17 connections on Glassdoor
| 1–1 of 1 Nextlabs Interview | Sort by |
Java Engineer at Nextlabs
Posted Jan 12, 2012
4.0
Difficult Interview
|
Overall Neutral Experience
|
Interviewed and No Offer
|
Interviewed Jan 2012 in San Mateo, CA (took 2 weeks)
The recruiter contacted me, and said that their company doesn't pay for relocation costs, asked whether I want to process the interview or not, and after that, we scheduled the first interview, it was a online coding interview, you need to provide the skype account, and do the video call with them. The recruiter will pass the questions to you on skype, and you need to code it in front of them. (I think they just want to make sure that it's you, the people who write the code). The interview took around 1.5 hrs. There have 5 coding questions.
Interview Questions
int findMax(int[] items)
{
}
public interface BinaryTree<T extends Comparable<? super T>>
{
public void insert(T data);
public T findMin();
public boolean contains(T data);
public void remove(T data);
}
2.1. (optional) What does T extends Comparable< super T>> mean?
Ans: It means that T has to be of type Comparable, which can avoid redundantly specifying type parameters
Please describe some of these data structures and when they might be used.
public class Test
{
public final static int NUMTHREADS = 1000;
public final static int NUMLOOP = 1000;
public static int num = 0;
static class Mythread extends Thread
{
@Override
public void run()
{
for (int i = 0; i < NUMLOOP; i++)
{
++num;
}
}
}
public static void main(String argv[])
{
Mythread threads[] = new Mythread[NUMTHREADS];
for (int i = 0; i < NUMTHREADS; ++i)
{
threads[i] = new Mythread();
threads[i].start();
}
try
{
for (int i = 0; i < NUMTHREADS; ++i)
{
threads[i].join();
}
}
catch (InterruptedException e)
{
}
System.out.println("Num: " + num);
}
}
Other Details
I Applied Online and the interview consisted of a Phone Interview and a Skills Test.
Helpful Interview?
Yes |
No
Inappropriate?