Drivewealth Interview Questions

Drivewealth Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(50)
Machine Learning
(38)
SQL
(33)
A/B Testing
(14)
Product Sense & Metrics
(13)

Drivewealth Interview Questions

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

QuestionTopicDifficulty
Data Structures & Algorithms
Medium

Write a Python function called max_profit that takes a list of integers, where the i-th integer represents the price of a given stock on day i, and returns the maximum profit you can achieve by buying and selling the stock.

You may complete, at most, two complete buy/sell transactions to maximize profits on a stock.

Input:

prices = [3, 3, 5, 0, 0, 3, 1, 4]

Output:

def max_profit(prices) -> 6

Explanation:

Buy on day 4 (price = 0) and sell on day 6 (price = 3): profit = 3 - 0 = 3.
Then buy again on day 7 (price = 1) and sell on day 8 (price = 4): profit = 4 - 1 = 3.
Total profit: 3 + 3 = 6.
Probability
Medium
SQL
Easy
Loading pricing options

View all Drivewealth questions

Challenge

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

Drivewealth Salaries by Position

Software Engineer*
$109K
$172K
Software Engineer
Median: $140K
Mean (Average): $140K
Data points: 2

Most data science positions fall under different position titles depending on the actual role.

From the graph we can see that on average the Software Engineer role pays the most with a $140,000 base salary while the Software Engineer role on average pays the least with a $140,000 base salary.

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