pansophism
BAN USER- 0of 0 votes
Answersgiven a series of stock prices in an array. Pick when to buy and when to sell to gain max profit.
- pansophism
(This a the worst experience for me ever! It is just a simple max sum problem. The interviewer came in with his computer and kept smiling at it while his phone rings all the time. I couldn't even think. This guy totally screwed my interview.)| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 0of 0 votes
AnswersYou are given a binary tree in which each node contains a value Design an algorithm
- pansophism
to print all paths which sum up to that value Note that it can be any path in the tree
- it does not have to start at the root| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm
event driven parsing
- pansophism December 13, 20101. binary search, find the first occurrence at i
2. then binary search in the rest: [i, end]
recursively reverse
like abcdefgh -> bcdefgha -> hcdefgba -> .....
nice.
hand-waving
as sax parser.
go through the whole string, whenever there is a white space, append the word into a stringbuilder
RepHello friends my name Neha Nanda from India Chandigarh city. Doing work in SEO line in Softsys company.
Rep
Repnancyhfloress, Computer Scientist at AMD
Hey there, I’m Nancy. I’m a small business owner living in Sunrise, FL 33323. I am a fan ...
Repabbyhgabb, Associate at Abs india pvt. ltd.
Develop fresh content for emails, web banners, site wide communication, and subject lines.Write stories, blogs and related content about ...
RepHi, I am Anne from Portsmouth, USA. I have been working as a freelance digital illustrator specialized in 3D character ...
RepI am an energetic sales professional with a track record of consistently increasing sales revenue in a competitive market. Contract ...
tortoise and hare algorithm to detect circle.
- pansophism December 13, 2010then go reverse to find the beginning node.