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

Software Engineer

Citrix
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 Months
Topics: DSA ( Graphs, trees, linked lists, arrays, strings), System design, Networks, OS, Math Puzzles
Tip
Tip

Tip 1 : Strings were the most asked topic during the 2021 placement season. 
Tip 2 : Prepare Networks and OS properly and be sure to answer all questions in an interview.

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

Tip 1 : Please keep it a one-pager, and do not include skills like Ms Word, and Excel.
Tip 2 : Ensure you highlight 2 dev projects that you know fully. You can get questions as to what you did in the project vs what your other teammates did. Never try to create any stories during the interview, it clearly shows that the candidate is lying.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date20 Jul 2020
Coding problem2

1. 2 programing Questions
2. 10 MCQs based on OS and Networking.

1. Find the City With the Smallest Number of Neighbors at a Threshold Distance

Moderate
15m average time
85% success
0/80
Asked in companies
UberCitrixGoogle inc

You are given ‘N’ cities numbered from 0 to N-1 and ‘M’ edges. These cities are connected with undirected weighted edges. You are also given a positive integer, ‘distanceThreshold’.

Your task is to find the ‘city’ to which the minimum number of cities are reachable through some path whose distance is no more than the given ‘distanceThreshold’.

Note:

1. If multiple such cities exist, you have to find the city with the greatest number.

2. The distance of a path connecting two cities, ‘U’ and ‘V’, is the sum of the weight of the edges along that path.

3. The distance between two cities is the minimum of all possible path distances.
Problem approach

1. Graph question
2. Use BFS to solve the same.
3. As it was an online round you just have to code it in hackerrank's IDE.

Try solving now

2. Left View Of Binary Tree

Moderate
30m average time
60% success
0/80
Asked in companies
SAP LabsZSThought Works

You have been given a Binary Tree of 'n' nodes, where the nodes have integer values



Example :
If the input tree is as depicted in the picture: 

alt text

The Left View of the tree will be:  2 35 2 
Problem approach

1. Provided the head node 
2. BFS to get level order nodes of each level.
3. Print the first node of each level.

Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date22 Jul 2020
Coding problem2

1. The interview was in the morning 10-11AM.
2. It was an online round using teams and hackerrank codepair.

1. Longest Common Substring

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

You are given two strings, 'str1' and 'str2'. You have to find the length of the longest common substring.


A substring is a continuous segment of a string. For example, "bcd" is a substring of "abcd", while "acd" or "cda" are not.


Example:
Input: ‘str1’ = “abcjklp” , ‘str2’ = “acjkp”.

Output: 3

Explanation:  The longest common substring between ‘str1’ and ‘str2’ is “cjk”, of length 3.
Problem approach

1. I was able to provide the solution in 15 mins ( I had seen the problem during my practice) :)
2. Step1 : Brute Force :A simple solution is to one by one consider all substrings of the first string and for every substring check if it is a substring in the second string. Keep track of the maximum length substring. 

Step 2 : Optimize the solution using DP O(m*n)

Try solving now

2. Car Pooling

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

You are working as a cab driver. Your car moves in a straight line and moves toward the forward direction only. Initially, you have ‘C’ empty seats for the passengers.

Now, you are given ‘N’ number of trips that you have to make. In each trip, you are given three integers ‘Num’, ‘pickPoint’, and ‘dropPoint’ denoting that there are ‘Num’ numbers of passengers standing at 'pickpoint’ and you have to drop them at 'droppoint’.

Your task is to find if it is possible to pick up and drop off all the passengers of all the given trips or not.

Note :
You have a special type of car containing any number of seats.
Try solving now
03
Round
Easy
Video Call
Duration60 Minutes
Interview date22 Jul 2020
Coding problem2

1. Managerial/Technical round
2. Right after the second round.
3. Lasted for 60 mins.

1. Build Heap

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

You are given an integer array with N elements. Your task is to build a max binary heap from the array.

A max-heap is a complete binary tree in which the value of each internal node is greater than or equal to the values of the children of that node.

Note :
You do not need to print anything, just return the vector representation of the heap such that the input array follows 0 - based indexing and :

The left child of the ith node is at (2 * i + 1)th index.

The right child of the ith node is at (2 * i + 2)th index.

Parent of the node present at ith index is at (i - 1) / 2 indexes.
Problem approach

1. Replace first and last element of the array.
2. Go from mid of the array and check for the condition that it is greater than its children. If it is not, then swap it.
3. Repeat step 2 till you complete the loop from n/2 to 1.

Try solving now

2. OS Questions

What are the conditions of deadlock? What is a semaphore and what are mutex locks?

Problem approach

Tip 1 : Read the OS deadlocks and mutex locks chapter thoroughly.
Tip 2 : Ensure that you are strong in OS fundamentals ( Bankers algo, resource sharing graphs etc)
Tip 3 : Type os OS (modular, layered etc)

04
Round
Easy
HR Round
Duration30 Minutes
Interview date22 Jul 2020
Coding problem1

ROund occurred during evening time ( 5-6 pm).
After the third round.

1. Basic HR Questions

1. Why this company?
2. Do you have other offers?
3. Where will you be in 5 years?
4. Do you like to work on networking or only application development?
5. Planning for a masters?

Problem approach

Tip 1 : Be calm and confident.
Tip 2 : Prepare for general HR questions.
Tip 3 : Please, never say that you are planning for a masters.

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
SDE - 1
2 rounds | 4 problems
Interviewed by Citrix
1550 views
0 comments
0 upvotes
company logo
Software Engineer
4 rounds | 3 problems
Interviewed by Citrix
1225 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 3 problems
Interviewed by Citrix
1664 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 9 problems
Interviewed by Citrix
1252 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