"
O(n) time, O(1) space
from typing import List
def maxsubarraysum(nums: List[int]) -> int:
if len(nums) == 0:
return 0
maxsum = currsum = nums[0]
for i in range(1, len(nums)):
currsum = max(currsum + nums[i], nums[i])
maxsum = max(currsum, max_sum)
return max_sum
debug your code below
print(maxsubarraysum([-1, 2, -3, 4]))
`"
Rick E. - "
O(n) time, O(1) space
from typing import List
def maxsubarraysum(nums: List[int]) -> int:
if len(nums) == 0:
return 0
maxsum = currsum = nums[0]
for i in range(1, len(nums)):
currsum = max(currsum + nums[i], nums[i])
maxsum = max(currsum, max_sum)
return max_sum
debug your code below
print(maxsubarraysum([-1, 2, -3, 4]))
`"See full answer
"Potential ad creators:
Brands
Drivers
Travel services.
Goal: To create a revenue stream. Acquire new users? To potentially develop new products? For now, lets focus on generating revenue as the goal.
Potential ad products:
Ads from brands you can watch while you are riding. Most riders dont look at the app while riding but we can provide them incentives like 5% off next ride if they watch ads the whole ride and pay it via ad revenue.
Drivers can pay Lyft to be matched more w"
M N. - "Potential ad creators:
Brands
Drivers
Travel services.
Goal: To create a revenue stream. Acquire new users? To potentially develop new products? For now, lets focus on generating revenue as the goal.
Potential ad products:
Ads from brands you can watch while you are riding. Most riders dont look at the app while riding but we can provide them incentives like 5% off next ride if they watch ads the whole ride and pay it via ad revenue.
Drivers can pay Lyft to be matched more w"See full answer
"
CQ: 1. Understanding of Google search and the way ads are being displayed today.
What kind of subscription model are we thinking of: same as youtube
I talked about Google search as a flagship product of google. % of revenue generated from ads. Other search engines and there % share in the market. Other players such as Facebook whose 99% revenue is from ads.
Talked about Google Mission and alignment of the ads with Google mission
Pro Con list of subscription versus ads
User exp.
2."
Veronica S. - "
CQ: 1. Understanding of Google search and the way ads are being displayed today.
What kind of subscription model are we thinking of: same as youtube
I talked about Google search as a flagship product of google. % of revenue generated from ads. Other search engines and there % share in the market. Other players such as Facebook whose 99% revenue is from ads.
Talked about Google Mission and alignment of the ads with Google mission
Pro Con list of subscription versus ads
User exp.
2."See full answer
"I would take the following approach:
Define what acquisition of a merchant means - It could be a few of these actions - 1. Merchant provides their email/phone number to shopify, 2. They create a store 3. they sign up for a subscription
Second we need to establish the method we are using to acquire new merchants
Assumption - it is paid advertising on IG and FB given that's one of the ways of acquiring audience on these platforms and is easy to track. Other approach could be social"
Anhul C. - "I would take the following approach:
Define what acquisition of a merchant means - It could be a few of these actions - 1. Merchant provides their email/phone number to shopify, 2. They create a store 3. they sign up for a subscription
Second we need to establish the method we are using to acquire new merchants
Assumption - it is paid advertising on IG and FB given that's one of the ways of acquiring audience on these platforms and is easy to track. Other approach could be social"See full answer
",1:1s are a crucial part of my management approach. These meetings provide an opportunity to build strong relationships with team members, understand their needs, and ensure alignment with the team's goals. The way I do is I schedule 1:1s on a regular basis,typically weekly or bi-weekly, depending on the team member's preference and current workload.I encourage team members to contribute to the agenda by sending topics they want to discuss beforehand. This ensures that the 1:1 is focused on wha"
Scott S. - ",1:1s are a crucial part of my management approach. These meetings provide an opportunity to build strong relationships with team members, understand their needs, and ensure alignment with the team's goals. The way I do is I schedule 1:1s on a regular basis,typically weekly or bi-weekly, depending on the team member's preference and current workload.I encourage team members to contribute to the agenda by sending topics they want to discuss beforehand. This ensures that the 1:1 is focused on wha"See full answer
Behavioral
🧠Want an expert answer to a question? Saving questions lets us know what content to make next.
"Password Management Tool
Helps Setup Password
Helps Retrieve Password
Helps Reset Password
Children can be broken into 3 Cohorts
0-5 Years Old : 2 yound to understand Password
6-12 Years Old : Do understand Password
13-18 Years Old : Teens and even better than Adults in Dealing with Technology
Here lets concentrate a on 6-12 Years Old who want to manage Passwords for Themselves
Children wants to setup Password on an Application - It cannot be special"
Akshai V. - "Password Management Tool
Helps Setup Password
Helps Retrieve Password
Helps Reset Password
Children can be broken into 3 Cohorts
0-5 Years Old : 2 yound to understand Password
6-12 Years Old : Do understand Password
13-18 Years Old : Teens and even better than Adults in Dealing with Technology
Here lets concentrate a on 6-12 Years Old who want to manage Passwords for Themselves
Children wants to setup Password on an Application - It cannot be special"See full answer
"Designing an Email Application for the Blind
Creating an accessible email application for blind users involves leveraging screen reader compatibility, tactile feedback, and voice recognition technologies. Here's a comprehensive approach:
Core Design Principles:
Accessibility-First Design: Ensure compatibility with screen readers like NVDA, JAWS, or VoiceOver.
Follow accessibility guidelines (WCAG) for structure, navigation, and content.
Voice Interaction:Use voice comman"
Priti S. - "Designing an Email Application for the Blind
Creating an accessible email application for blind users involves leveraging screen reader compatibility, tactile feedback, and voice recognition technologies. Here's a comprehensive approach:
Core Design Principles:
Accessibility-First Design: Ensure compatibility with screen readers like NVDA, JAWS, or VoiceOver.
Follow accessibility guidelines (WCAG) for structure, navigation, and content.
Voice Interaction:Use voice comman"See full answer
"1) Have a common goal
2) Have a clear and fair accountability between teams
3) Ensure conflicts are resolved in time on common issues
4) Promote common Brain-storming , problem solving sessions
5) Most important , Have clear and effective communication established and practised"
Saurabh N. - "1) Have a common goal
2) Have a clear and fair accountability between teams
3) Ensure conflicts are resolved in time on common issues
4) Promote common Brain-storming , problem solving sessions
5) Most important , Have clear and effective communication established and practised"See full answer
"One time I refuse someone that I can’t help them because I was busy working on my task that required a long time for me to complete it but once I explain to them why I could NOT help them, they totally understand it and then they ask the front desk."
Amparo L. - "One time I refuse someone that I can’t help them because I was busy working on my task that required a long time for me to complete it but once I explain to them why I could NOT help them, they totally understand it and then they ask the front desk."See full answer
"Clarifying Questions:
US or globally? globally
Consumer or business use? consumer
Assumptions:
Assuming we are interested in frequent users, let's say someone who uses Google Drive at least 5 times a year. Discluding anyone who has used Google Drive less than 4 times per year.
Assuming Google Drive is a place to store, share, and collaborate on files and folders from your mobile device, tablet, or computer.
Recap:
We would like to estimate the number of users of Google Drive"
Cameron P. - "Clarifying Questions:
US or globally? globally
Consumer or business use? consumer
Assumptions:
Assuming we are interested in frequent users, let's say someone who uses Google Drive at least 5 times a year. Discluding anyone who has used Google Drive less than 4 times per year.
Assuming Google Drive is a place to store, share, and collaborate on files and folders from your mobile device, tablet, or computer.
Recap:
We would like to estimate the number of users of Google Drive"See full answer
"Understand what is the business objective behind the ask ? We should not be adopting trends just because everyone is adopting, it has to be tied to business objective
Once objective is clear - we need to determine feasibility and cost\benefit assessment by deciding on pilot candidates - since its bank, do we want to integrate this with mobile banking only ?
Once we decide on candidate - we will also need to decide on buy vs build decision ? If there are any fintech offerings (like Zell"
Hmm T. - "Understand what is the business objective behind the ask ? We should not be adopting trends just because everyone is adopting, it has to be tied to business objective
Once objective is clear - we need to determine feasibility and cost\benefit assessment by deciding on pilot candidates - since its bank, do we want to integrate this with mobile banking only ?
Once we decide on candidate - we will also need to decide on buy vs build decision ? If there are any fintech offerings (like Zell"See full answer
"I have often experienced my manager believing in something while I don't. The situation largely arises when the manager is under pressure of taking decision and has not spent enough time on researching about the decision. While I on the other hand have always spent time learning about issues right since we feel this is going to be a challenge in the near future. In such scenarios, I would believe something else base on my research while the manager would have some other belief based on his exper"
Vinit K. - "I have often experienced my manager believing in something while I don't. The situation largely arises when the manager is under pressure of taking decision and has not spent enough time on researching about the decision. While I on the other hand have always spent time learning about issues right since we feel this is going to be a challenge in the near future. In such scenarios, I would believe something else base on my research while the manager would have some other belief based on his exper"See full answer