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

      Pocket Gems

      Is this your company?

      About
      Reviews
      Pay and benefits
      Jobs
      Interviews
      Interviews
      Related searches: Pocket Gems reviews | Pocket Gems jobs | Pocket Gems salaries | Pocket Gems benefits
      Pocket Gems interviewsPocket Gems Programmer interviewsPocket Gems 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.

      Company Bowl sample

      Want the inside scoop on your own company?

      Check out your Company Bowl for anonymous work chats.

      Bowls

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

      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
      Epic Games
      4.2★Compensation and benefits
      avatar
      PlayStation
      3.9★Compensation and benefits
      avatar
      Platogo
      4.0★Compensation and benefits
      avatar
      Teamazing
      3.6★Compensation and benefits

      Programmer Interview

      22 Feb 2012
      Anonymous interview candidate
      San Francisco, CA
      No offer
      Neutral experience
      Average interview

      Application

      The process took 2 days. I interviewed at Pocket Gems (San Francisco, CA) in Jan 2012

      Interview

      I interviewed in their San Francisco office. I talked to 4 different people.

      Interview questions [5]

      Question 1

      Implement the following functions for a binary tree: Insert PrintInOrder PrintPreOrder PrintPostOrder Implement a non-recursive PrintInOrder
      Answer question

      Question 2

      You are given an array with integers between 1 and 1,000,000. One integer is in the array twice. How can you determine which one? Can you think of a way to do it using little extra memory.
      Answer question

      Question 3

      Implement a Queue class in C++. Which data structure to use internally? Why? How to notify of errors?
      Answer question

      Question 4

      Count the number of set bits in a 32 bit integer.
      Answer question

      Question 5

      There are n gas stations positioned along a circular road. Each has a limited supply of gas. You can only drive clockwise around the road. You start with zero gas. Knowing how much gas you need to get from each gas station to the next and how much gas you can get at each station, design an algorithm to find the gas station you need to start at to get all the way around the circle.
      Answer question
      1