Citrix System Inc Interview Questions
- 0of 0 votes
AnswersHow do you create your own garbage collector? How do you find whether objects in memory are orphans in order to purge them?
- harry December 02, 2015 in India| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Java - 0of 0 votes
AnswersThe idea is their are "ticket stalls" with a certain number of tickets, say 9. Any ticket they sell is priced at the number of tickets that remain, so first ticket would be $9, second $8 etc...
- gdasara1@asu.edu November 13, 2015 in United States
You're given two lines of data, say:
2 4
1 5
The first row contains two numbers:
The number of stalls
How many tickets are sold
The second line contains a list of how many tickets each stall has initially, so in this case stall 1 has 1 ticket, stall 5 has 5 tickets.
The problem: what is the maximum amount of money you can make selling the given number of tickets?
In this case, you sell four tickets from stall two for a price of 5 + 4 + 3 + 2 = $14| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Algorithm - 0of 0 votes
AnswersGiven an array of positive negative no, u need to find max sum we can achieve using this array, condition is u cannot use two adjacent items.
- Kavita August 06, 2014 in India
Print sum in one line
Print all items that contribute this sum in other line using space separated char
if all items r negative then print least negative no
-1 4 5 -2 -6 6
output-
11
5 6
we want it inplace and linear time.
Focus on printing items that contribute max sum.| Report Duplicate | Flag | PURGE
Citrix System Inc Dev Lead Dev Lead - 1of 1 vote
AnswersHow do you write a custom error handler in Java?
- A.K. January 15, 2014 in United States for Shared file| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Java - 0of 0 votes
Answerswhat happens when you re-throw an exception in Java?
- A.K. January 15, 2014 in United States for Shared file| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Java - 0of 0 votes
AnswersHow would you design a database to store directory type data structure (e.g. windows folder containing subfolders)?
- A.K. January 15, 2014 in United States for Shared file| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Database - 1of 1 vote
AnswersWhat is SOAP? What is REST? What are the major differences between SOAP & REST?
- A.K. January 15, 2014 in United States for Shared file| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Java - 0of 0 votes
AnswersWhat is a process? what is a service? what are the differences between a process and a service (e.g. in windows)?
- A.K. January 15, 2014 in United States for Shared file| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer System Design - 0of 0 votes
AnswersWhat is a static method? What is the difference between instance method and static method?
- A.K. January 15, 2014 in United States for Shared file| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Object Oriented Design - 1of 1 vote
AnswersWhat is an interface? How is an interface different than inheritance? Why multiple inheritance not allowed?
- A.K. January 15, 2014 in United States for Shared file| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersWhat is generics? How do you call a generic method in C++/C#? What are the disadvantages of generics?
- A.K. January 15, 2014 in United States for Shared file| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer C++ - 0of 0 votes
AnswersIf you have a file that has 1000 unique elements that are unsorted and you have a memory that can accomodate only 200 elements, how will you sort. Hint was to use bitwise operator >
- prohitc November 26, 2013 in India| Report Duplicate | Flag | PURGE
Citrix System Inc Algorithm - 3of 3 votes
AnswersGiven two parameters (a target string and a source string), write code that returns the number of times characters found in the source string occur in the target string.
- ootah November 14, 2013 in United States
For example, if target="Hello world" and source="llld" then return 4| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer C - 0of 0 votes
AnswersWhat are some ways to crack a cryptohash? Is your method efficient, or are there better ways?
- ootah November 14, 2013 in United States| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Security - 0of 0 votes
AnswersSort two string arrays and merge into one in alphabet order? which sorting algorithm would be good here?
- Ravi October 31, 2013 in India
suppose str[]="ab" and str2[]="badg" and str3 should be aabbdg, should work for all combinations.| Report Duplicate | Flag | PURGE
Citrix System Inc Developer Program Engineer C# - 0of 0 votes
AnswersYou have a number written starting from 1 to infinitive. You are performing some iteration. In
- spider June 26, 2012 in India
1st iteration you are removing number at a gap of one , in second iteration you are removing
number at a gap of two in remaining list and so on.You are given a number you have to tell that
it will be remove after certain iteration or not.Also calculate the complexity of you algorithm and
improve it if you can.
[Citrix]| Report Duplicate | Flag | PURGE
Citrix System Inc Algorithm - 0of 0 votes
Answers1. Who is the (which process) the responsible for windows
- Hmmm February 20, 2012 in India for Xen-Client
2. updates ? How these windows 'Run' (winKey+R) commands work ?
3. Why the run commands won't work for user installed applications ? Any way to do so ?| Report Duplicate | Flag | PURGE
Citrix System Inc Quality Assurance Engineer Operating System - 0of 0 votes
AnswersWhat does a packet contains, when it is send from source to destination ? How does a packet routes to one NW to an other ?
- Hmmm February 20, 2012 in India for Xen-Client| Report Duplicate | Flag | PURGE
Citrix System Inc Quality Assurance Engineer Networking / Web / Internet - 0of 0 votes
AnswersSome questions on LINUX command level,
- Hmmm February 20, 2012 in United States for Xen-Client
A. command to find RAM memory space occupied by each process.
B.What does 'top' command do ?| Report Duplicate | Flag | PURGE
Citrix System Inc Quality Assurance Engineer Operating System - 0of 0 votes
AnswerGiven some file sharing scenario & asked to give negative test cases as many as possible ?
- Hmmm February 20, 2012 in India for Xen-Client
Ans: Here he himself was not clear about scenario, was mixing up with Wins functionality & his scenario.| Report Duplicate | Flag | PURGE
Citrix System Inc Quality Assurance Engineer Networking / Web / Internet - 0of 0 votes
AnswersYou have a 2 liter & 5 liter jugs and a tank of milk. So using these 2 jugs get 4 liter milk in 5 liter jug ?
- Hmmm February 20, 2012 in India for Xen-Client
Ans: 5-3 =2 (take 3 liters frm 5 and put 2 in 3 liter jug); 5 -1 = 4 (again take 5 liter & fill remaining liter in 3 liter )| Report Duplicate | Flag | PURGE
Citrix System Inc Quality Assurance Engineer Brain Teasers - 0of 0 votes
AnswersLogic to print number and number of duplicates of that number in a given array list ?
- Hmmm February 20, 2012 in India for Xen-Client
Ans: It's very easy if you two for loops, anyone can try out & get it in seconds.| Report Duplicate | Flag | PURGE
Citrix System Inc Quality Assurance Engineer Arrays - 0of 0 votes
Answer(1) Working flow of DNS & DHCP protocol ?
- Hmmm February 20, 2012 in India for Xen-Client
Ans: Yeah it's routine question, explained in my way.
(2) How does DHCP generates a lease with client name, by association with DNS.
Ans: With DHCP option DDNS updates, explained it. He was bit happy here.| Report Duplicate | Flag | PURGE
Citrix System Inc Quality Assurance Engineer Networking / Web / Internet - 0of 0 votes
AnswersExplain about test frame worked on ?
- Hmmm February 20, 2012 in India for Xen-Client| Report Duplicate | Flag | PURGE
Citrix System Inc Quality Assurance Engineer Testing - 0of 0 votes
AnswersYou have been given a dictionary containing some words which data structure you will
- priyankajaggi4 September 10, 2011 in India
use to store all those words and why
You have been given a word you have to find its anagrams within that dictionary
Now you haven’t been given any word you have to find all the anagrams already existing
within given dictionary.
Now you can have as much time as you want for preprocessing of dictionary words
already existing but the solution should give efficient result for accessing the anagram of
given word
Suppose the length of each word in dictionary is of length N and it has M no of words in
dictionary then how much time it will take for preprocessing and after preprocessing to
find the angrams in dictionary
(they were asking for as many solutions as you can give for each question)| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer - 0of 0 votes
AnswersYou have a BST in which each and every node has an extra pointer (called rand) which
- priyankajaggi4 September 10, 2011 in India
is pointing to any random node within the tree. Now if that rand pointer is pointing to any
of its inorder successor then its fine otherwise you have to make it null.
Now you are also having the duplicate entries in that BST. Now how will you handle it.
Next question was suppose the tree is not BST and also has duplicate entries what will
you do now to handle that rand pointer.
What is the time complexity and space complexity in every solution| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Algorithm - 0of 0 votes
AnswersDifference between Interrupt,Trap,Signals & System call.Relation between them such as "what is generated after what"?
- Sonam Garg June 17, 2011
1. What do you mean by maskable and NMI's, give examples?
2. what is the relation between interrupts and Signals?When you pres Ctrl-d or Ctrl-z what happens?Are Signals eg SIGINT,SIGFPE maskable?
3.What are Software Interrupts and TRAP? give examples.
4.IDT ans ISR's
The questions were asked as per my responses and I think I messed it up,plz clear my concepts and help for future job interviews.| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Operating System - 0of 0 votes
AnswersGiven 2 sorted linked lists - merge them. Make sure you don't have duplicates in the merged list. The input lists could have duplicates within them or across the 2 lists.
- ST April 18, 2011| Report Duplicate | Flag | PURGE
Microsoft Citrix System Inc Software Engineer / Developer Software Engineer in Test Algorithm Linked Lists