sg
BAN USER
- 0of 0 votes
AnswersImplement the code to parse a string into a value type? you are implementing the library functionality for Enum.Parse
- sg in United States
1. How do you discover valid values?
2.What do you do when the user asks for you to parse an invalid value?
3.How do you handle casing issues?| Report Duplicate | Flag | PURGE
- 0of 0 votes
Answershow to get the most tweeted movies in the last 24 hours on twitter?
- sg in United States| Report Duplicate | Flag | PURGE
Expedia - 0of 0 votes
AnswersGive four points, determine is it is a square, rectangle or none of the above.
- sg in United States| Report Duplicate | Flag | PURGE
Microsoft - 0of 0 votes
AnswersGiven list of nodes of a tree, find the root of the tree. Nodes in the list are not in any particular order.
- sg in United States
If all nodes in the tree are not given, return null
A
B C
D E F
F E A << input
A << output| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer - 0of 0 votes
Answerspublic class Node
- sg in United States
{
public Node[] Children;
public Node Right;
}
Each node represents an element of a tree and specifies a list of immediate children.
The 'Children' property lists all children (in order) but the 'Right' property is set to null.
Suppose you are given the root of a fully populated tree (i.e. a Node called RootNode). Write code to set the 'Right' property so that each node is linked to its right sibling.| Report Duplicate | Flag | PURGE
Booking.com SDE-2 - 0of 0 votes
AnswersGiven the following xml file, and input containing the root node as well as the attribute name,
- sg in United States
return an IEnumerable<string> of the values. The candidates should use xpath to solve the problem
ex input: xmlNode = employees, attrName = “name”
ex output: Yuri, Alex as an IEnumerable of strings
*/
<root>
<employees>
<employee>
<id>1</id>
<name>Yuri</name>
</employee>
<employee>
<id>2</id>
<name>Alex</name>
</employee>
</employees>
</root>| Report Duplicate | Flag | PURGE
Big Fish - 0of 0 votes
AnswersWrite a function that determines whether a two dimensional array contains duplicate values within k indices of each other
- sg in United States
The first line of input will be a number indicating how many rows are in the matrix. This will be followed by lines of input one for each row of the matrix each row will contain the same number of columns with each column separated by a space. Following the matrix will be a single line of input containing a number indicating the k value.
Output should be ‘YES’ or ‘NO’
example:
4
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
3
Output: No| Report Duplicate | Flag | PURGE
- 0of 0 votes
AnswerGiven a tree and a number N, construct another tree such that each node of the tree has either 0 or N elements,except for one node which has between 0 to N elements.Only other constraint is that ancestry is preserved in the new tree.
- sg in United States| Report Duplicate | Flag | PURGE
- -1of 3 votes
AnswersDesign a game like angry birds
- sg in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer - 1of 1 vote
AnswersReverse string except spaces. A string has mix of alphabets and spaces. Your task is to reverse the string, but preserve the positions of spaces. For example, reverse of " a if" is " f ia".
- sg in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer Algorithm - 0of 0 votes
Answersdifference between hashtable and hashmap in C#?
- sg in United States
when to use hashtable, list, hashmap and dictionary.| Report Duplicate | Flag | PURGE
Microsoft - 11of 11 votes
AnswersGiven a string, find whether it has any permutation of another string. For example, given "abcdefg" and "ba", it shuold return true, because "abcdefg" has substring "ab", which is a permutation of "ba".
- sg in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test String Manipulation
RepPrestigeLuxuryRentals, Data Engineer at Car Rental
How to get the Exotic Car Rental Miami Beach for driving in vacation?Prestige Luxury Rentals always aim to give ...
Repstanjachrissi, Integration Software Engineer at xyz
Hi,my name is Stanja Chrissi. I was conceived and FL. I moved on from CA and went ahead to ...
RepEdwin Adcox, Dev Lead at Advisory Board Company
Welcome to the best and certified exotic car rental company of USA. Here, at Prestige luxury Rentals, we offer the ...
RepAmber Van is the top rated company that offers friendly and professional removals services.Our featured services includes domestic moves ...
RepBlack magic mantra is simple and easy mantra. Call our specialist today for advice on black magic mantra to kill ...
RepGerard Swearingen, Consultant at ADP
Want to book exotic and luxury car rental in Atlanta, GA ? We, Prestige Luxury Rentals are the best car rentals ...
thank you for the explanation!!
- sg September 04, 2015