Citrix interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Citrix
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 8 months
Topics: Computer Programming, Data Structure, Algorithms, Scientific Computing, Distributed Computing, Graph Theory, Theory of Computation, Probability Theory
Tip
Tip

Tip 1 : What you prepare, prepare it well and I had only few computer science course but since major was Mathematics so it gave me advantage in interview also.
Tip 2 : Read your semester/year project properly and be confident.
Tip 3 : Practice as much as questions you can, focus on graphs also

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Make the resume one page concise, do not write very old achievement and projects, try to make it as latest as possible
Tip 2 : Use Keywords such as courses, programming languages and numbers

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date5 Oct 2018
Coding problem1

First round happened around 6 in the evening and we were observed by two of the professors and in medium size computer Science Lab.

1. Find K Pairs with Smallest Sums

Moderate
25m average time
75% success
0/80
Asked in companies
IntuitAdobeCitrix

You are given two arrays of positive integers say ‘arr1’ and ‘arr2’ and a positive integer ‘K’. Also ‘arr1’ and ‘arr2’ are already sorted in ascending order. Consider all pairs (x, y) such that ‘x’ belongs to ‘arr1’ and ‘y’ belongs to ‘arr2’. You need to find exactly ‘K’ such pairs with the smallest sum of ‘x’ and ‘y’.

Example:

Let ‘arr1’ be [ ‘1’, ‘2’, ‘6’ ] and ‘arr2’ be [ ‘3’, ‘3’, ‘5’ ] and ‘K’ be 3.

There are 9 possible (x, y) pairs such that ‘x’ belongs to ‘arr1’ and ‘y’ belongs to ‘arr2’. Among all of them 3 pairs with smaller ‘x’ + ‘y’ are [ (1, 3), (1, 3), (2, 3) ].
Problem approach

I firstly thought of applying brute force by created one array of size n * m and put sum of element picking one from array 1 and then other from array 2 and sorted that array and kept track of which number is sum of which pair.
but this had very high time complexity: O(n * m * log (n * m)).
Then I went ahead to think a little bit more different than Brute force so I came up with below approach:
I tried finding k smallest sum pairs, starting from least sum pair. The idea was to keep track of all elements of one array and which have been already considered for every element of other array so that in an iteration we only consider next element. For this purpose, we use an index array index2[] to track the indexes of next elements in the other array. It simply means that which element of second array to be added with the element of first array in each and every iteration. We increment value in index array for the element that forms next minimum value pair.

Try solving now
02
Round
Medium
Face to Face
Duration30 Minutes
Interview date3 Dec 2018
Coding problem1

This round was related to giving algorithm of given problem and keep talking and keep communicating thought process to interviewer

1. Minimum Number of Platforms

Moderate
30m average time
70% success
0/80
Asked in companies
MeeshoGrabAmazon

You have been given two arrays, 'AT' and 'DT', representing the arrival and departure times of all trains that reach a railway station.

Your task is to find the minimum number of platforms required for the railway station so that no train needs to wait.

Note :
1. Every train will depart on the same day and the departure time will always be greater than the arrival time. For example, A train with arrival time 2240 and departure time 1930 is not possible.

2. Time will be given in 24H format and colons will be omitted for convenience. For example, 9:05AM will be given as "905", or 9:10PM will be given as "2110".

3. Also, there will be no leading zeroes in the given times. For example, 12:10AM will be given as “10” and not as “0010”.
Problem approach

By visualising the problem using graph with x axis as time and y axis as trains so the answer for minimum platforms would be maximum number of trains in same time interval.
And then going into solution:
Using two loops, take one interval and check it with other intervals. Keep updating the maximum in each outer loop iteration.
But this is having time complexity as O(n^2)
So Interviewer asked to look at improving the time complexity.
So I thought for sometime and came up with keeping track of trains which has arrived but did not depart.
So for this, we have to consider events in sorted order.
This is taking time O(n * log n)

Try solving now
03
Round
Medium
Face to Face
Duration30 Minutes
Interview date3 Dec 2018
Coding problem1

This round was related to questions on my preferred computer programming language and the project discussion.

1. System Design Question

Discuss on the project I did in my masters which was related to designing centralised library management system

So I explained what all tech stacks we used and what all complexities we tried to avoid and then what is the improvement which can be done on top of the project to make it more verbose

Problem approach

Tip 1 : Since discussion on the project can be asked in detail so add the project details in your resume about which you know in and out.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
4 rounds | 3 problems
Interviewed by Citrix
1225 views
0 comments
0 upvotes
company logo
Software Engineer
4 rounds | 7 problems
Interviewed by Citrix
1163 views
1 comments
0 upvotes
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by Citrix
1477 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7874 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes