Coding

Can you code a Python function to discount specific song streams by a given markdown rate?

Machine Learning Engineer

Stripe

Spotify

Reddit

Credit Karma

Convoy

Postmates

Did you come across this question in an interview?

Your answer

Try Free AI Interview

Google logo

Google

Product Manager

Prepare for success with realistic, role-specific interview simulations.

Product Strategy
Meta logo

Meta

Product Manager

Prepare for success with realistic, role-specific interview simulations.

Product Sense
Meta logo

Meta

Engineering Manager

Prepare for success with realistic, role-specific interview simulations.

System Design
Amazon logo

Amazon

Data Scientist

Prepare for success with realistic, role-specific interview simulations.

Behavioral
  • Can you code a Python function to discount specific song streams by a given markdown rate?
  • How would you write a Python script to implement a markdown on particular song streams?
  • Could you develop a Python function that applies a markdown to selected song streams?
  • How do you construct a Python function that enforces a markdown rate on certain song streams?
  • Can you create a Python function that adjusts the stream count for songs with a markdown rate?
  • What would a Python function look like that multiplies song streams by a markdown factor?
  • How would you script a Python function to apply a markdown rate to a list of song streams?
  • How can a Python function be written to apply a markdown percentage to certain streams of songs?
  • Can you program a Python function that reduces song stream figures by a specific markdown rate?
  • Write a python function to apply a markdown rate to certain song streams.

Interview question asked to Machine Learning Engineers interviewing at Credit Karma, Databricks, Cleo and others: Can you code a Python function to discount specific song streams by a given markdown rate?.