GeeksforGeeks Question · Nov 2016 · Los Angeles

CustomerXPs Interview Experience | Set 1 (On-Campus)

Question Details

1st round: The first round is a written test conducted for all the applicants. The written test consists of two sections. Section I consists of 30 MCQs out of which 10 we...

Full Details

1st round: The first round is a written test conducted for all the applicants. The written test consists of two sections. Section I consists of 30 MCQs out of which 10 were from Mathematics and Aptitude and 20 were Technical Questions. The technical Questions are from C (mostly on functions, pointers - very deep but easy), C++ and Java. Section II is a Programming section in which three questions were given (Sheets were provided and we were asked to code those questions). The questions were as follows: 1. Use a single array and initialise two stacks with it. Demonstrate all the stack operations for both the stacks. Your code should be space efficient. 2. Print any ten numbers each greater than 10 which follows the following logic. Logic - The sum of the factorials of the digits of a number should be equal to the number itself. For example, 145 - 1! + 4! + 5! = 145 can be one of your answers but 123 where 1!+2!+3! is not equal to 123 cannot be among your answers. 3. Given a linked list,

return the middle most element of the linked list and if there are two middle elements,

return the second one. Out of 800 people, they shortlisted 40 for the interview rounds. 1st Technical Round: It was a face to face interview based on my resume, few questions on Javascript, C and questions in the fields of my interests. After this round, they shortlisted 20 for the second technical face to face interview. 2nd Technical Round: This was purely a technical rather be termed as a programming face to face round. I was asked to code for complicated questions in an optimized way. This round lasted for around one and a half hour. Don't remember all of them but few were: 1. Given a stack which contains integers, a second stack which is empty, a function isempty which returns whether a stack is empty or not, functions push and pop for both the stacks and a temporary variable, sort the first stack.

Note: Except the given variables, arrays etc. no other entities must be used. The push function takes one parameter which is the element to be pushed in. The pop and the isempty functions take no parameters. 2. Given a tree and a function getchild(node) which returns all the immediate children of the node in the form of a list, find out the height of the tree. 3. Given a tree, perform a level order traversal. 4. Given an array of numbers, find the nth most repeated element and the number of times the element is repeated in O(nlogn) time complexity. After this round 8 were shortlisted for the 3rd Technical round. 3rd Technical Round: This was the last technical face to face interview. The interviewer asked few questions from the written test as in how I have solved few questions etc. He later asked questions on linked lists, pointers very deeply. The interview lasted for around 1 hr 45 min. This round was followed by the HR round which was normal. 5 people were selected by the Company from our university.

Free preview — 6 questions shown. Unlock all Customerxps questions →

About This Question

This is a reported interview question from a customerxps interview for a swe role during the recruiter round reported in 2016.

It covers the following topics: Linked List, Trees, Sql, Stack Queue, Arrays, Stack .

Difficulty rating: Easy

About Customerxps Interview Reports

This question was reported by a candidate who interviewed at Customerxps. LeakCode aggregates interview reports from 10+ sources, including 1Point3Acres, Glassdoor, LeetCode Discuss, Blind, Reddit, Indeed, and Nowcoder. Each report is translated where necessary, deduplicated against existing entries, and tagged by company, role, round type, and reporting date.

Use this question as one calibration data point, not a memorization target. Companies typically rotate their question pools every 2-4 months; the exact wording of a 2024 question may differ from what you encounter today. The underlying pattern, difficulty level, and follow-up depth at Customerxps are the higher-signal extractions to take from this report.

For broader preparation context, the Customerxps interview process typically includes a recruiter screen, one or two technical phone screens, and a 4-5 round on-site loop covering coding, system design (at L4+ levels), and behavioral. Reports tagged on LeakCode show the round-by-round distribution and typical difficulty calibration. To browse questions filtered by round type and seniority, use the company hub linked above.

How To Practice This Type of Question

Solve similar problems on LeetCode under timed conditions (25-35 minutes per medium difficulty). The goal is pattern recognition: recognize the underlying technique (sliding window, two-pointer, BFS, memoized recursion, etc.) within 60-90 seconds of reading. Strong candidates verbalize their hypothesis out loud before coding, then iterate based on feedback. Weak candidates dive into implementation immediately, lose time on the wrong approach, and run out of time for follow-ups.

Companies update their question pools every 2-4 months. The exact wording of any given question may have been retired by the time you interview. Focus your prep on the pattern, not the specific problem. The patterns that appear in Customerxps reports consistently are the ones worth investing in; one-off niche problems are not.

During Your Customerxps Round

Apply the standard interview round template: clarify requirements (2-3 minutes), state your approach out loud and confirm direction with the interviewer (3-5 minutes), code with narration (15-25 minutes), test with concrete examples including edge cases (5 minutes), discuss optimization or trade-offs if time permits (5 minutes). This template is universally accepted across FAANG and adjacent companies; deviating from it produces weaker interviewer feedback signal.

The single most predictive failure mode in Customerxps reports tagged "no hire": not asking clarifying questions. Interviewers are explicitly trained to weight this. Strong candidates ask 3-5 clarifying questions even on problems that look obvious; weak candidates dive into code immediately. The clarifying-question check is often the first signal recorded in the interviewer's written notes.