Skip to contentSkip to footer
  • Community
  • Jobs
  • Companies
  • Salaries
  • For employers
      Notifications

      Loading...

      Elevate your career

      Discover your earning potential, land dream jobs, and share work-life insights anonymously.

      employer cover photo
      employer logo
      employer logo

      Nextlabs

      Is this your company?

      About
      Reviews
      Pay and benefits
      Jobs
      Interviews
      Interviews
      Related searches: Nextlabs reviews | Nextlabs jobs | Nextlabs salaries | Nextlabs benefits
      Nextlabs interviewsNextlabs Java Engineer interviewsNextlabs interview


      Glassdoor

      • About / Press
      • Awards
      • Blog
      • Research
      • Contact Us
      • Guides

      Employers

      • Free Employer Account
      • Employer Centre
      • Employers Blog

      Information

      • Help
      • Guidelines
      • Terms of Use
      • Privacy and Ad Choices
      • Do Not Sell Or Share My Information
      • Cookie Consent Tool
      • Security

      Work With Us

      • Advertisers
      • Careers
      Download the App

      • Browse by:
      • Companies
      • Jobs
      • Locations
      • Communities
      • Recent posts

      Copyright © 2008-2026. Glassdoor LLC. "Glassdoor," "Worklife Pro," "Bowls" and logo are proprietary trademarks of Glassdoor LLC.

      Followed companies

      Stay ahead in opportunities and insider tips by following your dream companies.

      Job searches

      Get personalised job recommendations and updates by starting your searches.

      Top companies for "Compensation and Benefits" near you

      avatar
      Avanade
      3.6★Compensation and benefits
      avatar
      Hewlett Packard Enterprise | HPE
      3.6★Compensation and benefits
      avatar
      Nagarro
      3.6★Compensation and benefits
      avatar
      EPAM Systems
      3.6★Compensation and benefits

      Bowls

      Get actionable career advice tailored to you by joining more bowls.

      Company Bowl sample

      Want the inside scoop on your own company?

      Check out your Company Bowl for anonymous work chats.

      Java Engineer Interview

      12 Jan 2012
      Anonymous interview candidate
      San Mateo, CA
      No offer
      Neutral experience
      Difficult interview

      Application

      I applied online. The process took 2 weeks. I interviewed at Nextlabs (San Mateo, CA) in Jan 2012

      Interview

      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 [5]

      Question 1

      1. Implement the following function: int findMax(int[] items) { }
      1 Answer

      Question 2

      2. Implement the following interface to implement a binary search tree in Java 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
      1 Answer

      Question 3

      3. Trees (binary and otherwise) form the basis of many common data structures. Please describe some of these data structures and when they might be used.
      2 Answers

      Question 4

      4. Implement a basic Thread Pool in Java. When it’s completed, discuss the trade offs of your implementation. If you had unlimited time, discuss what improvements you would make to it and how these improvements would help developers that used your thread pool.
      Answer question

      Question 5

      5. The user of this class expected the output “Num: 1000000”. They got something else. What went wrong and how would you fix it? 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); } }
      2 Answers