The Array Cast cover image

What is the Problem?

The Array Cast

00:00

How to Solve a Problem Statement in BQM

Marshall: Well, so we can talk about two different solutions but the wrinkle is that it only wants you to tell you what the X smallest is. So if you're looking for in this case the second smallest value, but that value is positive they just basically want you to floor it to zero. John: I don't think for my solution it was an extra two characters zero floor or whatever. It sounds like maybe for John's solution. The time complexity of this was big O of the length of the array. Times. Marshall: And on the restricted range, it would be a linear time sorting. Yes.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app