Bloomberg LP Interview Question for Software Engineer Interns


Country: United States
Interview Type: Phone Interview




Comment hidden because of low score. Click to expand.
1
of 1 vote

I will require that user should play some music. It will give me the information about the user's music interest like - artist, music type (jazz .. etc), details of melody and harmony, rhythm and instrumentation etc.
I will use this information as a "music attributes\characteristics" to describe a song. And it will be used to select some songs from the library for the recommendation.
And songs will be classified in the database.

Each characteristic of a song has different score, and sum of scores of all characteristics give score of a song. Now on the basis of scores songs are sorted for the recommendation.

"Item based prediction algorithm" is the best match to calculate the score of a song.

- Ajeet November 01, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

That's all ECom sites provide free or trial accounts

- Ajeet November 01, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

how about country, language, year, sex of artiest,

- Jay November 01, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

A single song can have 100s of attributes ... it will depend on the availability of your portal ..So i did not mention all attributes .... :)

It is just pseudo code.

- Ajeet November 02, 2013 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

You can always take a black-box approach. Treat each song as its own entity without connecting it to anything - no attributes and no other songs. The only thing you record is a record for each user's channel (not the user himself). You do this, because a user could have two contradictory channels, and you wouldn't want to let that confuse your statistical analysis. The record houses all the songs he liked in that channel.

This might be sufficient information to then apply statistical techniques or machine learning of some kind. Basically, try to find a similarity measure between user channels based on the songs liked in them and disliked in them, and if everyone in a similar group likes song X and John Smith's Hard Rock channel is in that group yet hasn't tested out X yet, send him a recommendation for X.

When a new song comes online, simply send it to a few groups at random and record the reaction. You need to do this type of exploration, or new songs would never be offered to anyone.

- Jackson Hardmaster November 22, 2013 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More