Pinterest Interview Questions
- 0of 0 votes
AnswersWrite a binary calculator for summing two strings. Could not use standard {{ bin }} method.
- ito ogami November 20, 2019 in United States| Report Duplicate | Flag | PURGE
Pinterest Software Developer Programming Skills - 0of 0 votes
AnswersImplement auto complete for IDE, you will be given strings of classes and input, input can be like MVC, MoClick, MouseClickHand
- neer.1304 August 17, 2019 in United States
For MouseClickH => MouseClickHandler
MVC => can match to any classes where first word starts from M then V then C| Report Duplicate | Flag | PURGE
Pinterest Software Engineer / Developer Algorithm - 0of 0 votes
AnswersGiven a matrix find the subset sum while performing spiral traversing.
- vim April 08, 2018 in United States| Report Duplicate | Flag | PURGE
Pinterest - 0of 0 votes
AnswersGiven an input string and a dictionary of words, find out if the input string can be segmented into a space-separated sequence of dictionary words. You need to output the minimum number of words. For example, input: "aaaisaname"
- keepworking February 05, 2014 in United States for general
dict: ("a", "aaa", "is", "name")
output: "aaa is a name"
Wrong output: "a a a is a name"| Report Duplicate | Flag | PURGE
Pinterest Senior Software Development Engineer Algorithm - 0of 0 votes
AnswersYou are on a point on Google Maps (longitude, latitude). You select a radius, and expect to get a list of all the places within that radius. How would you implement this?
- BingBang April 30, 2013 in United States| Report Duplicate | Flag | PURGE
Pinterest Software Engineer Intern Algorithm - 0of 0 votes
AnswersHow would you implement live search for people's names (only firstname and lastname, or lastname and firstname) like in facebook's search, retreiving the top 5, knowing a value between 0 and 1 for every one of them. If you are close friends then the value will be bigger. You should output the first 5 values in descending order.
- BingBang April 30, 2013 in United States| Report Duplicate | Flag | PURGE
Pinterest Software Engineer Intern Algorithm - 0of 0 votes
AnswersGiven a list of words output the largest anagram derivative contained in that set.
- maytas92@yahoo.com February 11, 2013 in United States
The definition of an anagram derivative is:
Consider the word 'cat' as a basis, then the word 'tack' is said to an anagram derivative of 'cat' since it can be re-arranged and appended with an alphabet to form the word 'tack'. This process can be performed repeatedly, so that the word 'tacky' is an anagram derivative of 'tack'.
Now given a list of words output the largest anagram derivative in that list.| Report Duplicate | Flag | PURGE
Pinterest Software Engineer / Developer - 0of 0 votes
AnswersPinterest has access to a large volume of 'pins' say of the order of 10 million. It is now required to display the 'Top 50' pins to the users on the website.
- maytas92@yahoo.com February 11, 2013 in United States
Each pin has an associated 'score id' which is constantly updated as users 'like' the pin.
Explain the run time complexity and memory requirements of the architecture.| Report Duplicate | Flag | PURGE
Pinterest Software Engineer / Developer Data Structures - 1of 1 vote
AnswersGoal:
- sf engineer March 03, 2012 in United States
Write a function get_related_pins that takes a pin_id and returns a list of related pin_ids. Note that doing a good job on this challenge is as much about setting up good data structures and decomposing code cleanly as about clever data mining techniques, because setting up a good framework for iterating gets you further in the long run.
Data:
board_json.txt and pin_json.txt are text files of JSON-encoded dictionaries of board and pin object data, respectively. There is data for ~300k pins and ~10k boards, with possible duplicates.
Each board JSON dict contains the fields id, user_id, username, name, slug, description, and category (which may be null, but if not, is one of a fixed set of categories). Each pin JSON dict contains the fields id, board_id, user_id, img_url, is_repin, is_video, source, and link.
To get the data into a format that is easy to work with, consider using a lightweight database system like SQLite.| Report Duplicate | Flag | PURGE
Pinterest - 0of 0 votes
AnswerWe want you to write a more intelligent web scraper that will help us grab some
- sf engineer March 03, 2012 in United States
of the following information for sites of your choice:
Prices
Number of Items Available
Seller Information
Tags
Product Rating
Product Details
Product Title
This could work on sites such as Etsy, Amazon, Gap, or other sites of your choice.
Your Code:
Please write a small application that can read a csv of urls and images from a file.
For each url and image link it will download the image into a sub directory and store
its own json blob file of information for the urls. The schema is up to you, but it should
try to be as consistent for different sites as possible| Report Duplicate | Flag | PURGE
Pinterest Application / UI Design