Citrix Software Developer 2018
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2018-05-30Added By Anonymous
Source: Link
Citrix | Software Developer | Bangalore | 2018
Company: Citrix
Location: Bangalore
Profile: Software Developer
Written Round:
The written round (conducted on HackerRank) consisted of two sections:
1. First section consisted of 50 MCQs to be attempted in 1 hour.
The questions covered almost all the topics including Networking, OS, C/C++ output, OOP,
quantitative aptitude.
2. This section consisted of 2 programming questions to be solved in 1 hour :
a. Find a pivot index in an array of integers such that the sum of elements to the left of
the pivot is equal to the sum on the right. Could be easily done in O(n).
b. Given an array of integers. Arrange this array in such a way that all anagrams are
grouped together and the groups themselves are sorted on the basis of the first
element of each group. Eg- Input: 981, 27, 819, 72,198. Output: 27, 72,198,891,981.
My code worked only for some of the test cases.
33 students were shortlisted for further rounds.
Interview Round 1 (Duration 1hr 15 mins)
The interview started out with the obvious- “Tell me about yourself”. I spoke briefly about my
projects and extra-curricular activities.
I was then asked about networking in detail, which covered almost all the layers. I had to speak at
length about DNS and the differences between a router and a switch. Packet format etc. where also
discussed.
Make sure your networking concepts are very strong. A couple of tricky questions were asked –
“How does the server respond to a client’s message addressed to a port which is not open? Explain
for both TCP and UDP.”
He then moved on to algorithms. A simple question on finding prime numbers in a given range was
asked. I coded the solution on paper and did a dry run. He asked me the complexity of the code and
various complexity notations in general.
The last question he asked me was to find out the number of matches to be played between teams
in the case when each team plays the other and also in the case when a tournament tree is formed.
24 candidates were shortlisted for the next round.
Interview Round 2 (Duration 1hr 30 minutes)
The interviewer was friendly but seemed to be in a hurry.
Questions were asked on the complexities and applications of heap and queues.
How will you find the median in a stream of integers? (I implemented it using two heaps.)
Which sorting algo would you preferably use? (I spoke about Timsort of Java.)
When does the worst case complexity of quick sort arise?
How does randomized quicksort help?
He then moved onto hashing. Explain why it is done.
He asked me to design a hashtable from scratch. (I did it using arrayList/vectors and linked list of a
custom Node class objects for handling collisions.)
I also spoke about load factor, double hashing etc.
He then asked me to design a LinkedHashMap using the concepts of inheritance, given a HashMap as
the parent class. (The interviewer helped me out with hints when I was stuck.)
Algo: Number of ways of dividing a number recursively as n/2,n/3,n/5. I gave a DP solution – similar
to the coin change problem.
Last question was a puzzle – 10 coins are placed on a table. Some have their heads up while others
have their tails up. You are blindfolded. Divide the coins into 2 groups containing the same number
of heads and tails each.
Interview Round 3(Duration 1 hr)
This was a managerial round taken by a senior member of the hiring team.
The interview was heavily focused on Android App Development and my projects.
I spoke at length about 2 of my apps on the Play Store, demonstrating their functionalities to the
interviewer.
Features such as Push notification, leaderboards, GPS, widgets etc were discussed. (Not the
technical aspects of them.)
Questions like what other features do you have in the pipeline? Why Android? Are you willing to
work on iOS? Where is the future of mobile tech heading? Can cryptography be used in some
upcoming apps?
He then asked me about my schooling and family background. Questions were asked about my
extra-curricular activities – Srijan, Enactus, quizzing etc.
I then asked him a few questions regarding Citrix and the kind of work they do.
After a wait of 2-3 hours, the results were announced. I was lucky enough to be one of the ten
candidates selected!
Some learnings from my own experience that I would like to share:
Make sure you are good with algorithms and data structures. Speed and correctness both
are essential. LeetCode and InterviewBit are two amazing resources – and ofcourse
GeeksforGeeks has an exhaustive collection of questions and interview experiences.
Try to have atleast 1 good project (Android/Web Development/Machine Learning/any topic
of your liking) by the end of 3rd year. You can clear some rounds simply by impressing the
interviewer with a good project.
Last but not the least, have faith in your abilities. Remember, sometimes you win,
sometimes you learn!