DataLane

Coding problems

33 Python problems (NumPy, Python, or PyTorch in the language dropdown) and 27 SQL warehouse problems. Filter by role — every role’s questions live on this list. Easy problems are free; medium and hard need Pro.

Solved 0/60

0% complete · saved on this device only

StatusProblemDifficulty
1. Mean

~5 min · Google, Meta

easy
2. Mean squared error

~8 min · Google, OpenAIPro

medium
3. Mean absolute error

~6 min · Amazon, GooglePro

medium
4. ReLU

~5 min · Google, Meta

easy
5. Dot product

~6 min · Google, NVIDIAPro

medium
6. Argmax

~5 min · Meta, ApplePro

medium
7. Clip

~6 min · Stripe, GooglePro

medium
8. Flatten

~5 min · Amazon, NetflixPro

medium
9. Min-max normalize

~10 min · Google, DatabricksPro

hard
10. Softmax

~12 min · OpenAI, GooglePro

hard
11. Mean ignoring NaN

~8 min · Tesla, GooglePro

medium
12. Population variance

~8 min · Meta, Two SigmaPro

medium
13. Population standard deviation

~8 min · Jane Street, GooglePro

medium
14. Median

~8 min · Amazon, BloombergPro

medium
15. Cumulative sum

~6 min · Stripe, UberPro

medium
16. Cosine similarity

~12 min · OpenAI, GooglePro

hard
17. Moving average

~10 min · Bloomberg, QuantCoPro

hard
18. Unique sorted

~6 min · Apple, AmazonPro

medium
19. Count a value

~5 min · Meta, NetflixPro

medium
20. Weighted mean

~8 min · Airbnb, GooglePro

medium
21. R-squared

~12 min · Databricks, GooglePro

hard
22. Manhattan distance

~6 min · Uber, LyftPro

medium
23. Log-softmax

~12 min · OpenAI, AnthropicPro

hard
24. Pearson correlation

~14 min · Two Sigma, CitadelPro

hard
25. Binary cross-entropy

~14 min · OpenAI, AnthropicPro

hard
26. Precision

~12 min · Meta, GooglePro

hard
27. Top-k indices

~12 min · Google, NVIDIAPro

hard
28. Z-score

~12 min · Jane Street, CitadelPro

hard
29. Shannon entropy

~12 min · DeepMind, GooglePro

hard
30. Recall

~12 min · Meta, GooglePro

hard
31. F1 score

~14 min · OpenAI, AnthropicPro

hard
32. KL divergence

~14 min · DeepMind, Two SigmaPro

hard
33. Huber loss

~14 min · NVIDIA, Jane StreetPro

hard
34. Completed revenue by country

~10 min · Stripe, Shopify, SquarePro

medium
35. Top products by units sold

~10 min · Amazon, Walmart, InstacartPro

medium
36. Who reports to Ben

~6 min · Google, Meta, MicrosoftPro

medium
37. Orders with more than one line

~8 min · Instacart, DoorDash, Shopify

easy
38. Event funnel by stage

~10 min · Meta, Snap, PinterestPro

medium
39. Orders with no payment

~10 min · PayPal, Capital One, StripePro

medium
40. Cancel rate by country

~12 min · Uber, DoorDash, LyftPro

medium
41. Daily completed revenue

~10 min · Meta, Netflix, SpotifyPro

medium
42. Customer lifetime summary

~15 min · Airbnb, Booking, ExpediaPro

medium
43. Running total of daily revenue

~12 min · Stripe, Airbnb, BookingPro

medium
44. Seven-day moving average

~14 min · Netflix, Spotify, UberPro

hard
45. Day-over-day revenue growth

~14 min · Meta, Uber, LyftPro

hard
46. Revenue share by country

~12 min · Amazon, Shopify, MetaPro

medium
47. Latest order per customer

~12 min · Shopify, Square, InstacartPro

medium
48. Top two products per category

~14 min · Amazon, Walmart, TargetPro

hard
49. Salaries above the department average

~14 min · Google, Microsoft, BloombergPro

hard
50. Reconcile orders against payments

~14 min · Stripe, Capital One, WisePro

hard
51. Traffic source from JSON payload

~12 min · Snowflake, Databricks, AirbnbPro

medium
52. Payment method mix by day

~12 min · Stripe, PayPal, AdyenPro

medium
53. Median completed order amount

~18 min · Capital One, JPMorgan, RobinhoodPro

hard
54. Sessionize events (30-minute gap)

~20 min · Netflix, Spotify, AirbnbPro

hard
55. Customers who cancelled and completed

~16 min · Stripe, Adyen, Checkout.comPro

hard
56. Customers who bought every category

~18 min · Amazon, Instacart, WalmartPro

hard
57. Second order within seven days

~18 min · Shopify, DoorDash, UberPro

hard
58. Hours from order to settlement

~18 min · Stripe, Adyen, PayPalPro

hard
59. First-touch traffic source

~18 min · Airbnb, Shopify, MetaPro

hard
60. Customers above average order volume

~16 min · Amazon, DoorDash, UberPro

hard
↑↓ navigate openesc close