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

SDE - 1

Citrix
upvote
share-icon
4 rounds | 9 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Computer Networking, OOPS, Data Structures, Algorithms, Operating System.
Tip
Tip

Tip 1 : Build a strong foundation by acquiring a deep understanding of how each data structure works. Try out a few LeetCode problems for every concept.
Tip 2 : Try to talk out loud through your thinking process, diagram the problem, ask questions and decide on an approach with the interviewer, before jumping into coding.

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Tailor your resume to suit the position you are applying for
Tip 2 : Limit it to one page

Interview rounds

01
Round
Easy
Online Coding Interview
Duration120 minutes
Interview date29 Aug 2021
Coding problem3

1. Maximum length pair chain

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

You are given ‘N’ pairs of integers in which the first number is always smaller than the second number i.e in pair (a,b) -> a < b always. Now we define a pair chain as the continuous arrangement of pairs in which a pair (c,d) can follow another pair (a,b) only when b < c.

Find the length of the longest pair chain that can be formed using the given pairs.

Example:
Given Pairs =  [3,4], [1,2], [2,3].

The length of the maximum chain will be 2. The longest chain is [1,2] -> [3,4].
Note:
1. You can select a pair only once.

2. You needn’t use up all the given pairs.

3. You can select pairs in any order. 
Try solving now

2. Puzzle

Alex has a list of items to purchase at a market. The cashier offers to discount the items after the first one by the lowest marked price among the prior items. No item's price can be discounted below 0, and the items cannot be reordered. Calculate the payable amount.Example: prices = [2,5,1,4]Alex pays 2 for the first item,Second item costs, 5 - 2 = 3Third item costs, max(1 - min(5, 2), 0) = 0Fourth item costs, 4 - 1 = 3

3. Technical Questions

Questions on semaphores, mutex, polling, TCP servers, load balancing and DNS

02
Round
Easy
Video Call
Duration45 minutes
Interview date31 Aug 2021
Coding problem2

1. Odd even level

Easy
20m average time
87% success
0/40
Asked in companies
ZomatoAmazonZS Associates

Given a binary tree. Find and return the modulus of the difference between the sum of odd level nodes and the sum of even level nodes.

Try solving now

2. Technical Questions

Questions on sharding and partitioning

03
Round
Medium
Video Call
Duration60 minutes
Interview date31 Aug 2021
Coding problem3

1. Next Permutation

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

You have been given a permutation of ‘N’ integers. A sequence of ‘N’ integers is called a permutation if it contains all integers from 1 to ‘N’ exactly once. Your task is to rearrange the numbers and generate the lexicographically next greater permutation.

To determine which of the two permutations is lexicographically smaller, we compare their first elements of both permutations. If they are equal — compare the second, and so on. If we have two permutations X and Y, then X is lexicographically smaller if X[i] < Y[i], where ‘i’ is the first index in which the permutations X and Y differ.

For example, [2, 1, 3, 4] is lexicographically smaller than [2, 1, 4, 3].

Problem approach

Step 1 : Discussed some corner cases with the interviewer. (Suppose the array is [3,2,1] we don't have a lexicographical larger rearrangement).
Step 2 : Started with brute force and then optimized it to the single pass approach.
Step 3 : Mentioned the changes I would make to take care of negative numbers as well.

Try solving now

2. Sort An Array According To The Count Of Set Bits

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

You are given an array consisting of N positive integers, and your task is to sort the array in decreasing order of count of set bits in the binary representation of the integers present in the array.

In other words, you have to modify the array such that an integer with more number of set bits should appear before the integer which has lesser number of set bits in its binary representation.

The number of set bits is nothing but the number of 1s present in the binary representation of the integer. For example, the number of set bits in 5(0101) is equal to 2.

Note :

1. If any two numbers have the same count of set bits, then in the sorted array they will appear in the order in which they appear in the original array. For example, let the array be { 2, 4, 3}, in this case, both 2 and 4 have the same number of set bits so the answer will be {3, 2, 4} and not {3, 4, 2}, because in the original array 2 appears before 4.

2. The array may contain duplicate elements.
Problem approach

Used Brian Kernighan’s algorithm to find the no. of “set bits” for every number and stored them in a Map, them
used a Custom Comparator to sort the array.

Try solving now

3. OOPS Questions

What is inheritance and its types?

What is a singleton class?

How to design a singleton class?

 

04
Round
Easy
HR Round
Duration30 minutes
Interview date31 Aug 2021
Coding problem1

1. Basic HR Questions

Tell me about your previous internship experience and projects.

What do you know about tech stack?

 

Here's your problem of the day

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

Skill covered: Programming

Which SQL keyword removes duplicate records from a result set?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Citrix
1282 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Citrix
803 views
0 comments
0 upvotes
company logo
Software Engineer
4 rounds | 7 problems
Interviewed by Citrix
851 views
1 comments
0 upvotes
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by Citrix
972 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
107832 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
52130 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
32261 views
6 comments
0 upvotes