Analyst Interview Questions
- 0of 0 votes
Answerswhat is the difference?
- holmespanda May 14, 2013 in United States
void test(vector<int> vec)
{
//ptint the vec;
}
void test(const vector<int> &vec)
{
//print the vec;
}| Report Duplicate | Flag | PURGE
Yelp Analyst C++ - 1of 1 vote
Answerswhat is the probability of 5 people with different ages sitting in ascending or descending order at a round table.
- michael.jasey March 25, 2013 in United States| Report Duplicate | Flag | PURGE
SIG (Susquehanna International Group) Analyst Probability - 3of 3 votes
AnswersGiven list of pounds, the pounds that can be measured using a balance should be displayed.
- premkumar1989.ss March 13, 2013 in India for Dev
For Ex: 100,250
The output will be 100,250,150
The number of pounds which will be given in input might vary. Can someone please help with an algorithm for this?| Report Duplicate | Flag | PURGE
Kpro Solutions Analyst Algorithm - 0of 0 votes
AnswersWe have array that contain integer number, I would like to find the numbers that repeated k time in this array. The array is not sorted, and the numbers are not bounded.
- ael_hsheek@yahoo.com February 15, 2013 in United States
Example,
A(20, 6, 99, 3, 6, 2, 1,11,41, 31, 99, 6, 7, 8, 99, 10, 99, ,6)
Find the numbers repeated more than 3 times.
Answer: 6,99
possible answer using bit wise operations (xor) or combination? Efficiency in running time Big(o) is required as well as the space capacity.| Report Duplicate | Flag | PURGE
Zynga Analyst Algorithm - 0of 0 votes
AnswerGiven that a disk page can hold at most 1K bytes, a search key uses 4 bytes, and a pointer uses 4 bytes.
- ael_hsheek@yahoo.com February 15, 2013 in United States
Can we analyze the size of an expendable hashing index to index a table column which is defined using unique constraint. What would be the minimum and maximum size of the expendable hasting index if the bucket address table is fully extended?| Report Duplicate | Flag | PURGE
Zynga Analyst Database - 0of 0 votes
AnswersThe company is currently traded at EV/EBIDA = 5.0x, EBITDA = $120 mln. The company is planing SPO of $120 mln, where $80 mln - secondary shares (current shareholder X sales his stake - 20% of equity capital prior to the SPO) and $50 mln - primary shares (new shares issue).
- zhadandmitriy January 30, 2013
Please calculate: EV an equity value prior and after SPO| Report Duplicate | Flag | PURGE
Analyst - 0of 0 votes
AnswersGiven a dataset with three columns: one column shows the account number from which an amount of money is wired, one column shows the account number to which the amount of money is wired, and three shows the amount of the transfer. Design an algorithm to make a new dataset with three columns such that the first column is the account number, the second column is the TOTAL amount of money transfered to the account, and the third column is the TOTAL amount of money transferred from the account.
- footballman January 11, 2013 in United States| Report Duplicate | Flag | PURGE
Analyst Algorithm - 0of 0 votes
AnswersWhat is the difference between template class and class template ???
- Surender September 11, 2012 in India| Report Duplicate | Flag | PURGE
Accenture Analyst - 0of 0 votes
AnswersThere is given a string array and strings having names
- himanshugupta2010ss August 31, 2012 in India
for eg . careercup , career , dewdeals , onlineshopping
You have to create a program that finds the largest string in given string array| Report Duplicate | Flag | PURGE
Credit Suisse Analyst Algorithm - 0of 0 votes
Answersfind the number of occurrence of given sum in array
- nagyuga August 27, 2012 in India
EX: input : 10 5 3 2 sum=15
output: 2
it means 15=10+5
15=10+3+2| Report Duplicate | Flag | PURGE
Credit Suisse Analyst - 0of 0 votes
AnswersDescribe an algorithm to solve the following problem. Given an undirected graph G =
- Rakesh Roy May 06, 2012 in India
(V, E) and a vertex v, compute for each vertex w in the graph G the number of shortest
paths from v to w. Can we do it in O(|V| + |E|) ?| Report Duplicate | Flag | PURGE
Analyst Algorithm - 0of 0 votes
AnswersAn cellphone company provides service on 7 different frequencies. They have fixed the locations of 100 towers for their new service. The company has to ensure that two towers broadcasting on the same frequency are at least 100 km apart, so that there is no interference of signals. Describe an algorithm which will answer “feasible” if it is feasible, otherwise output the minimum
- Rakesh Roy May 06, 2012 in India
number of frequencies needed to utilise all 100 towers.| Report Duplicate | Flag | PURGE
Analyst Algorithm - 0of 0 votes
AnswersYou play a dice rolling game, you have two choices:
- liyiou April 24, 2012 in United States for Risk analysis
1. Roll the dice once and get rewarded the amount of $ equal to the outcome number (e.g, $3 for number "3") and stop the game;
2. You can reject the first reward according to its outcome and roll the dice the second time and get rewarded in the same way and stop the game.
Which strategy should you choose to maximize your reward? (that is what outcomes of the first roll should make you play the second game?)
What is the statistical expectation of reward if you choose that strategy?| Report Duplicate | Flag | PURGE
Analyst Probability - 0of 0 votes
AnswersQueue. Implement a queue
- axoaxo March 26, 2012 in United States| Report Duplicate | Flag | PURGE
Citigroup Analyst Data Structures - 0of 0 votes
AnswersBinary Tree. How will you implement Binary tree
- axoaxo March 26, 2012 in United States| Report Duplicate | Flag | PURGE
Citigroup Analyst Data Structures - 0of 0 votes
AnswersWhat is Inner Join, Left outer join. What is a view
- axoaxo March 26, 2012 in United States| Report Duplicate | Flag | PURGE
Citigroup Analyst Database - 0of 0 votes
AnswersWrite a sql query to select duplicates in a Table.
- axoaxo March 26, 2012 in United States| Report Duplicate | Flag | PURGE
Citigroup Analyst Database - 1of 1 vote
AnswersExplain virtual function, up-casting and applications?
- shashaanktyagi November 12, 2011 in India| Report Duplicate | Flag | PURGE
Morgan Stanley Analyst Object Oriented Design - 0of 0 votes
AnswersHow will you restrict the memory allocated to a program by an operating system ?
- shashaanktyagi November 12, 2011 in India| Report Duplicate | Flag | PURGE
Morgan Stanley Analyst Operating System - 0of 0 votes
AnswersWrite a C function to reverse a string given just two character pointers along with the input string.
- amitlangote09 September 08, 2011 in India for Morgan Stanley| Report Duplicate | Flag | PURGE
Morgan Stanley Analyst C - 0of 0 votes
AnswersA common problem is to generate the intersection of two sequences. A sequence is a sorted list of objects that are ordered according to some comparison operation. I need two functions (or one function with some type of switch parameter) that provide an intersection of two sequences. In one case, I want to only output an intersection of the sequence, but if there are duplicate values in the sequence, only output one object. In the other, preserve duplicates. For example, take two sequences:
- Gopi August 10, 2011
A: 1, 3, 3, 7, 7, 7, 8
B: 2, 3, 7, 7, 9
The output in the non-duplicate preserving case should be: 3, 7. For the duplicate preserving case, the output should be: 3, 7, 7.
Your solution will be graded on flexibility, robustness, and scalability. You are allowed to create as many classes/objects/templates/etc that you need. Document your code as you would for real-world maintainability. You can use STL concepts, but the STL is unavailable to you.
The definition of a sequence and/or iterating through a sequence is not provided to you as part of this test question. It is up to you to determine how you want callers to pass in a sequence and how the caller will receive output. The solution should be flexible enough that the caller can easily adhere to a sequence definition, and once you have specified the API, assume that callers will provide a sequence in sorted order. If the caller does not adhere to your pre-conditions, it is the caller's fault, not yours (i.e., you don't have to test that a sequence is sorted). But, do try and make it easy enough for a caller to reuse.| Report Duplicate | Flag | PURGE
Amazon Analyst Algorithm - 0of 0 votes
AnswersGiven an array of unsorted integers , how to find duplicates in O(n)
- Gopi August 10, 2011| Report Duplicate | Flag | PURGE
Amazon Analyst Algorithm - 0of 0 votes
AnswersGiven a binary tree ,Find the minimum sum from root to the leaf and also the path???
- Ramani S July 18, 2011| Report Duplicate | Flag | PURGE
Amazon Analyst - 0of 0 votes
AnswersGiven two nodes of tree .Find their first common ancestor???
- Ramani S July 18, 2011| Report Duplicate | Flag | PURGE
Amazon Analyst - 0of 0 votes
AnswersWhat is virtual function?
- sbtech8 January 26, 2011| Report Duplicate | Flag | PURGE
Goldman Sachs Analyst C++