Fieldbox Interview Questions

Fieldbox Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(83)
Machine Learning
(43)
SQL
(27)
Probability
(27)
Product Sense & Metrics
(20)

Fieldbox Interview Questions

Practice for the Fieldbox interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Medium

Given a list of stock_prices in ascending order by datetime, and their respective dates in list dts, write a function max_profit that outputs the max profit by buying and selling at a specific interval and start and end dates to buy and sell for max profit.

Example:

Input:

stock_prices = [10,5,20,32,25,12]
dts = [
    '2019-01-01', 
    '2019-01-02',
    '2019-01-03',
    '2019-01-04',
    '2019-01-05',
    '2019-01-06',
]

def max_profit(stock_prices,dts) -> 27

Output:

def max_profit(stock_prices, dts) -> 
(27, '2019-01-02', '2019-01-04')
SQL
Easy
SQL
Easy
Loading pricing options

View all Fieldbox questions

Challenge

Check your skills...
How prepared are you for working at Fieldbox?

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.

Discussion & Interview Experiences

There are no comments yet. Start the conversation by leaving a comment.

Jump to Discussion