newbee
BAN USER
- 1of 1 vote
AnswersThere is a two storey home. We have three switch on the first floor and three rooms on the second floor. You can go upstairs only once and can touch switches only one. How will you find out which switch is for what room?
- newbee in United States| Report Duplicate | Flag | PURGE
Kohl's Software Engineer in Test Brain Teasers - 0of 0 votes
AnswersCheck if tree is BST.
- newbee in United States| Report Duplicate | Flag | PURGE
Samsung Senior Software Development Engineer Algorithm - 1of 1 vote
AnswersWe have a char array and we need to reverse it. say Char Array is “Northern California USA”, need to print “USA California Northern”. Can’t use any other data structures or buffer. Can only use a char temp.
- newbee in United States| Report Duplicate | Flag | PURGE
Samsung Senior Software Development Engineer Algorithm - 0of 0 votes
AnswersFind the kth minimum element into binary search.
- newbee in United States| Report Duplicate | Flag | PURGE
Samsung Senior Software Development Engineer Algorithm - 0of 0 votes
AnswersWhat is the diffenrce between join() and wait()?
- newbee in United States
What is sleep(). Which method releases the lock?| Report Duplicate | Flag | PURGE
Intuit Senior Software Development Engineer Java - 1of 1 vote
AnswersHow can we divide a large file between multi threads to process it? If we are running a multi threaded application and input is a large file and we have to provide each thread a part of the file to make it fast. How we can achieve it in java?
- newbee in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Java - 1of 1 vote
AnswersIf we have all the variables and methods are as static. So would that class be thread safe?
- newbee in United States| Report Duplicate | Flag | PURGE
A9 Software Engineer in Test Java - 1of 1 vote
AnswersThere are several words in a file. Get the occurrence of every word and sort it based on the occurrence, if more than one word is having same occurrence than sort it alphabetically.
- newbee in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer in Test Algorithm - 0of 0 votes
AnswersIn a directory we have several big log files? How u’ll find it how many number of lines are there in file? Aggregated count for all the files. What is if multiple threads are using those files? How will u be assigning files to them? What if one file size is way bigger than others.
- newbee in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer in Test Algorithm - 0of 0 votes
AnswersWhat is out in System.out.println(). How can we redirect System.out.println to file than showing on console? Say we have
- newbee in United States
System.out.println("Hello World!!"). We want "Hello World!!" written to file than showing on console.| Report Duplicate | Flag | PURGE
Nook Senior Software Development Engineer Java - 0of 0 votes
AnswersHow does one application implement similar to DropBox? How can we Mmake sure they are in sync for files. How u’ll check for files are downloaded. How u’ll download files. What protocols u’ll use?
- newbee in United States| Report Duplicate | Flag | PURGE
Amazon Principal Software Engineer Knowledge Based - 0of 0 votes
AnswersHow can we get square of a number without using * or carrot sign.
- newbee in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Algorithm - 0of 0 votes
AnswersThere is 3 text file, like file1.txt, file2.txt etc. Every file contains customer id, product id and expenses. Now write java code which will return 5 persons who spent most in these three files. Customer id can be duplicate all over files.
- newbee in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Algorithm - 0of 0 votes
AnswersHow can we get the square of a number without using * or carrot sign.
- newbee in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Algorithm - 0of 0 votes
AnswersConsider the following class definition:
- newbee in India
class Node {
List<Node> children;
void addChild (Node child);
}
Assume you have a node object like above. This node object can contain a child node object. Assuming you are given one of these objects, write a function to determine the maximum path length from the root node to the most distant remote node. .| Report Duplicate | Flag | PURGE
Flipkart Senior Software Development Engineer Algorithm
0 Answers path/height of tree like structure
Consider the following class definition:
- newbee August 19, 2014
class Node {
List<Node> node;
void addChild (Node testNode);
}
Assume you have a node object like above. This node object can contain a child node object. Assuming you are given one of these objects, write a function to determine the maximum path length from the root node to the most distant remote node.
Its not exactly tree as it doesnt have any left and right information but it has nodes on both sides.| Flag | PURGE
RepOffers ammunition for sale form top brands
Rephenryhokinsh, Android test engineer at ABC TECH SUPPORT
I’m Henry, I am Children's librarian in Rolling Thunder .My Work involves the responsibility for supervising the children ...
Repamandaben422, Graphics Programmer at Abs india pvt. ltd.
Hi, I am a webmaster from the USA. I think social networks have the power to connect two different people ...
Repabig8485, Apple Phone Number available 24/7 for our Customers at ABC TECH SUPPORT
Hello, I'm Abigail and I'm from Hugo City. I maintain customer loyalty and keep a diverse group of ...
Repmariawharris2, Computer Scientist at Adjetter Media Network Pvt Ltd.
Hi I am an IT Project Management Professional with 2 years' experience,Handled project development and documentation of copier rentals ...
Repkylecfarrell, Personnel at Bocada
Property custodian with a reputed organization and help in keeping accurate check over the supplies and inventory of materials and ...
Repmarierlewis2, AT&T Customer service email at ASAPInfosystemsPvtLtd
I am Marie and I live in Los Angeles USA, I have a strong base in marketing and I believe ...
Rep
RepAmmoBoard, Employee at A9
The best online ammo shop to buy ammunition for your rifles, handguns & shotguns from top brands you like.
What does this line do?
- newbee October 13, 2014y = carry << 1;
How can I learn these operations to multiply or addition with bit operators?