Kiara
BAN USER- 2of 2 votes
AnswersGiven predicted stock prices for next n days for a stock e.g : 10, 30, 42, 15, 20, 50, 10, 25 find the maximum profit that can be made with a single buy-sell transaction. If no profit can be made return 0. In the example buying at 15 and selling at 50 gives maximum profit. Note that the two prices are neither minimum nor maximum in the array.
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 0of 0 votes
AnswersConflict resolution in Multi Master systems.
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 2of 2 votes
Answersdesign a URL shortener service
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 1of 1 vote
Answerscheck a binary tree is a binary search tree
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 1of 1 vote
AnswersFind the in-order successor of a node in BST
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer - 0of 0 votes
AnswersSearch in a sorted rotated array.
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 0of 0 votes
AnswersMerge K sorted singly linked list
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - -4of 4 votes
AnswersPangram
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer - 0of 2 votes
AnswersIn-place Palindrome Check
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer - -5of 7 votes
Answersdutch national flag w/ get rank followup
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer - -1of 1 vote
AnswersGiven a tokenized PHP file, give me a map from class to list of functions
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer - -1of 1 vote
AnswersTree to List: convert a binary tree to a circular doubly-linked list
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - -1of 1 vote
Answersroll two dice, what is the probability of rolling no sixes?
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 1of 1 vote
AnswersFind the maximum number of non-intersecting events in a calendar.
- Kiara in United States for Infrastructure| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 0of 0 votes
AnswersWrite a function to print the rows of a binary tree, terminating each row with a carriage return
- Kiara in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer