## List of facebook questions

A bunch of questions from glassdoor

Questions |
---|

Questions on probability and expected return. |

giving lots of intervals [ai, bi], find a point intersect with the most number of intervals. |

Use basic arithmetic operations (+-*/) to implement sqrt function. |

Ribosome test |

What can Facebook do in order to improve and expand its user-base? (Particularly with the elderly.) |

Intersection of n sets without using a hash table. |

print the number ordered by the level in a binary tree |

use stack to pop out the max num under O(1) |

Print out a binary tree level by level |

Implement a LRU(Least Recently Used) cache |

Given two arrays, find if the integers in array 2 are a subset of the integers in array 1. |

Why Facebook? |

Introduce about yourself |

Why Facebook |

Implement a function to compute cubic root what is the time complexity? |

Given a file with 3-letter words, print all 3×3 with each row, column and diagonal being one of the words from given file. |

Given n+1 buckets with n of them with ball inside and move(a,b) function, that moves ball from bucket a to bucket b. Each ball has a different number from [1,n] on it. Move balls, so each bucket has a ball with matching number in it. |

Find the center of graph(vertex, that is connected with every other vertex, but edges are directed to the center of graph). |

Given a matrix with 1’s and 0’s, find the number of groups of 1’s. A group is defined by horiz/vertically adjacent 1’s. |

Write code to solve the following problem |

What challenges do you think Facebook is facing right now? |

What would you change about Facebook if you started tomorrow? |

Standard coding problems |

why you want to work for facebook. |

tell me how this relate to ur current/previous work experience |

What would you fix with X Product? |

Largest subsequence sum |

Insert a node in a singly linked circular list given any node in the list. |

Print out a binary tree level by level. (Denote the end of each level.) |

Questions on the Look-and-Say sequence. Google it. |

Two other questions were similar to the ones posted by others who underwent FB interviews. So not repeating them. |

Given a matrix of numbers in which some may be zero. If a cell contains a zero, set all the cells in the corresponding column and row to zero. |

You are given a set of numbers 0 – n. Given a k, print all subsets of size k. Give the time complexity of the algorithm. |

given two sorted arrays, please merge them into a single array and still sorted. how to determine the size of array? |

If the above two arrays are very long, but only few elements are valid. Please do the same task in the question 1 but without creating new array. |

Given an unsorted array of integers, find a 3-element subset that sums to zero |

Tell me about your experience as a club leader at your school? |

given the utitlies getFriend(User u) and areFriends(User u1, User u2), write the function which takes as parameter the array of users and return a bool saying if you can divide the users in 2 groups s.t. if u1 and u2 both belong to a certain group, they are not friends. |

remove duplicates in a string. |

how did you impact your organization in your current assignments |

what is the highest responsibility you have taken in the current job |

Describe a moment where you showed leadership on a team. |

Multiply two big integers which don’t fit into an built-in integer type. How would you represent big numbers as a data structure? Write the function to multiply two big integers. |

Implement atof function. eg., +3.5e-2, .03e1, 1e1, 0.0 |

Given an array of numbers, how would you search for one number? |

Write the code for Binary Search |

Modify the code to be used on a circular array of data. |

Read in text from a text file or stdin and tally the most common words. Output, in order, the most common words present in the file. |

How to implement multiple inheritance in Java |

Given set of coins and each coin has its unique probability to be head up, say double[] probs stores the probability values for all coins, print out all different cases and accordingly probability. |

How to implement Sqrt(double k) efficiently? |

what are your feelings about working on a team? |

what would you do if a team member was not completing his or her share of the work? |

Calculate x ^ y in O(log n) |

How would add new Facebook members to the database of members, and code their relationships to others in the database? |

What is the difference between Facebook ads and Google Ads? |

How would you rank your skills with SQL (1-10)? |

Given an unsorted array of integers, find a 3-element subset that sums to zero |

Technical background |

Cultural fit |

Write a class providing an LRU cache |

3SUM problem |

Open-ended systems/design question on storing and searching zillions of status updates |

What will you do to improve FB? |

What previous experience has led you to apply for this specific position? |

Tell me your ideal team. |

What is a good day at work for you? |

Given a tree, print the values contained at each level on the same line. So if you had the tree with root A, and children B and C, you would print: A B C |

Find the min and max in an array. Now do it in less than 2n comparisons. (they were looking for the solution that finds both max and min in about 3/2 n comparisons). |

Compute the square root of a number down to a certain precision. ie sqrt(num, precision) returns a number that is in-between sqrt(num) – precision and sqrt(num) + precision. |

What do you see as fb’s biggest challenge in the next 5 years? |

Very general questions: So – tell me about yourself….. |

I need someone who can manage my calendar…. |

If you had a chance to present ideas for new initiatives to senior management, what would those ideas be? |

FInd the maximum sum of a sub-sequence from an positive integer array where any two numbers of sub-sequence are not adjacent to each other in the original sequence. E.g 1 2 3 4 5 6 –> 2 4 6 |

Design a database schema that can be used for ad hoc analysis of Facebook mobile apps. |

Given a positive real number x, find the square root of x without using built-in sqrt functions. |

Do you think that Facebook should be available to China? |

Given an array of integers, now we want to erase all 0’s (can be other value), and we want the result array condensed, meaning no empty cell in the array. |

given a list of words with a same size and a big string that contains one of the permutation of all the words combined(say p), find the startindex of the string p in the big string |

Why do you want to work for Facebook? |

Why would you be a fit for the job? |

Find a needle in the haystack: given two c-strings (null terminated), return a pointer to the location of where the needle occurs in the haystack, NULL otherwise. |

Given a binary tree print the first level, followed by a newline, the second level, followed by a newline, etc. |

If you were an animal what kind would you be and why? |

How can one implement a queue with only a stack implementation? |

How would you implement a method to tell whether or not a string matches a regex that consists of lower case letters and *s. |

… be prepared to write real code on a while board on on-line editor. |

Write the actual code to reverse a linked list |

Write the actual code to parse a regular expression including “*”, which stands for 0 or more characters, “+”, which stands for 1 or more characters, and “.”, which stands for 1 exact character. |

Generate a new array from an array of numbers. Start from the beginning. Put the number of some number first, and then that number. For example, from array 1, 1, 2, 3, 3, 1 You should get 2, 1, 1, 2, 2, 3, 1, 1 Write a program to solve this problem. |

print out all prime numbers in a given string. abc2134kd31 -> 2, 13, 3, 3 |

Implement division without using multiplication or division. It should work most efficient and fast. |

Implement a suggestion function that generates alternative strings for given password strings like “facebook” => “F@ceß00k” and “fæc€Bo0K” or sth. |

How to reverse a linked-list? |

what can FB do to beat its competitors in my country, where it is not the most popular social network. |

search needle in haystack problem |

What is your favorite tool for recruiting? |

How would you ensure that our work is 100% error free? |

Tell me a time you were working with a group in which there was conflict |

Asked a lot of things regarding “what if” and “what if not” . . . They wanted to see where i was headed in life. Very specific to my CV and accomplishments till now. |

Implement a function char* readLine(); which returns single lines from a buffer. To read the buffer, you can makes use of a function int read(char* buf, int len) which fills buf with upto len chars and returns the actual number of chars filled in. Function readLine can be called as many times as desired. If there is no valid data or newline terminated string available, it must block. In order to block, it can use read function which in turn will block when it doesn’t have anything to fill the buf. |

Implement a function rotateArray(vector |

Implement a function string balanceParanthesis(string s); which given a string s consisting of some parenthesis returns a string s1 in which parenthesis are balanced and differences between s and s1 are minimum. Eg – “(ab(xy)u)2)” -> “(ab(xy)u)2” “)))(((” -> “” |

How will you design TinyUrl? |

How will you design facebook newsfeed. Focus was on a design which could handle the huge number of status updates and display them on each of the user’s friend’s wall. |

Who are our competitors? (Online Ads) |

What are our advantages over our competitors for online advertising? |

previous emplyoment |

5 year goals in the company |

Find Kth smallest element in a BST. |

What should Facebook do to attract new users in the EMEA countries? Describe your best two ideas. |

what is Facebooks value proposition to advertisers? |

why facebook? |

Writing test: 1 Describe a feature of facebook that you like most. |

In the phone interview:
Question: why do you like this position? |

What do you see as the three main advantages of Facebook for brands? |

What do you like and what don’t you like about the Facebook advertising product? |

Implement needle-in-a-haystack (string search). Make it more robust. |

Implement a queue data structure given only stacks. What is the time complexity of enqueuing and dequeuing operations? |

Given a Binary Search Tree, iterate over the elements without using recursion. |

Explain to a user why he/she does have to provide his/her real name to set up an account. |

Given a set of non-overlapping integer ranges (1,3) (5,8), etc., and an input integer, what is the best way to organize the data and allow for quick search based on the input, etc. |

why do you want to join in facebook |

Write a piece of code that finds anagrams. |

What changes would you make ? |

What do you think of XXX company ? |

Tell me about a time you had to work on a team etc. |

Write a C function to define strstr(char *haystack, char * needle) to return the first occurrence of needle in haystack. Code must compile and execute. |

write a C function to define strcmp(char *s1, char *s2) to return negative if s1 is smaller, positive if s2 is greater and 0 if they are equal. |

Can you think of any new features that will benefit Facebook users as well as advertisers? |

If you were handed 50 new target accounts how would you start? |

Why do you want to work at FB? |

Given a telephone number, find all the permutations of the letters assuming 1=abc, 2=def, etc. |

Print a singly-linked list backwards, in constant space and linear time. |

Convert a binary search tree to a sorted, circular, doubly-linked list, in place (using the tree nodes as the new list nodes). |

Given a set of words, group them into sets of anagrams. |

Given a string, remove all the duplicate characters (not necessarily consecutive) |

If given “this problem,” what steps would you take to solve it? |

discussing what can I do to improve my puzzle. |

How would you pitch Facebook to a client? |

It’s 6pm and your work day is over, what happened during the day that made it awesome? |

Write a function to tell if two line segments intersect or not. |

What is one thing that you least enjoyed about a previous job? |

How would you improve Facebook’s Advertising platform. |

With many advertisers and a small team to oversee them, how would you scale this process? |

What is the difference between and inner join and an outer join? |

What is the difference between inline html and block html? |

Find an algorithm to find the largest sum subarray in an array of integers. (Better than O(n^2) ). |

What problems could FB face in international markets |

how does hash map implementation looks like |

Write a function to prettify Json objects |

Given a list of n objects, write a function that outputs the minimum set of numbers that sum to at least K. FOLLOW UP: can you beat O(n ln n)? |

Write a function that computes log2() using sqrt(). |

Given sorted arrays of length n and 2n with n elements each, merge first array into second array. |

Not revealing questions due to NDA. |

You are given intervals of contiguous integers, like [1, 10), [15, 25), [40, 50), which are non-overlapping and of a fixed size. Design a data structure to store these intervals and have the operations of insert, delete, and find functions |

How do you deal with conflict in a team |

what do you know about facebook new features |

Explain in detail what a hash table is, how would you implement it, what would be a good hash function, and when is it good to use a hash table. |

Print out the level order traversal on a binary tree. |

Print out all the permutations of a string |

How can a perpetrator benefit from obtaining fraudulent Facebook credits? |

What can you do to combat fraud with Facebook credits and how would approach it? |

What do you think facebook should do next? |

Write a function that finds the minimum and maximum values within an unsorted array using divide-and-conquer. |

Write a function that prints out all subsets of a given set of numbers. |

Write a function that prints a binary tree level-by-level. |

Write a function that takes in two binary strings and returns their sum (also a binary string). |

Give a possitive/negative example of a time you worked in a team atmosphere and what lessons you learned as a result. |

Tell me about yourself? |

What are the main strengths of the Facebook brand? |

Who are some of Facebook’s top competitors? |

Design a system to detect typos and provide suggestions to users. |

What would your friends say about you if I were to ask them about you? |

How would you prioritize different needs and projects for your client base? |

What can you contribute to the team? |

Tell me something about you |

“Assume that Facebook is not blocked in China. What marketing strategies would you recommend to expand our user base in China?” |

No hard questions asked – most was easy dialogue about their product. |

What skills will you take away from your experience working for Facebook? |

What do you hope to accomplish in your first 90 days working for Facebook? |

1) What do you think of the new FB layout? |

2) What are your sugestions to improve FB product and layout? |

3) Can you think of some ways to gain users in EMEA? |

Design and implement an algorithm that would correct typos: for example, if an extra letter is added, what would you do? |

Implement a power function to raise a double to an int power, including negative powers. |

Given a String containing java-script assets, write a parser which will output the String with proper indentation. |

Why do you want to work for Facebook? |

A “what would you do in this situation” question. (I can’t give any more details since I signed their NDA) |

Describe something that you’re an expert in. |

reverse linked list |

I was asked to diagnose an actual problem they were having with a database. I was given access to their performance visualization tools so I could see the DB’s vital signs. I was asked to explain why a spike in DB response time occurred at a specific time (as shown on a graph). I was able to log into the database and examine statistics and performance counters, but the best tools were their extensive graphs. |

Binary search on a sorted, but rotated array. |

Print a binary tree in infix order. Recursive and iterative. |

Find the n-th smallest element in a binary tree. |

Implement strstr in C |

How would you print a large, balanced degree-bound tree in breadth first order, using only O(1) space? |

Write a script to print all phone numbers in an HTML file. |

With your finance background, why do you want to work in technology now? |

Given a certain state of an Othelo game board, location on the board, a certain piece to place on the given location, update the board and make the required validations |

Given a collection of words, return a collection of anagrams found in the given collection |

given an array of strings, find all the lists of anagrams present. |

Design the Facebook Credit system which is a application where users can buy/trade virtual currency and can use the virtual currency to purchase Facebook services, like paid apps. |

What’s the advantage of the design? |

How would the total credit points of a user be calculated based on my design? |

Write a code to convert an ASCII representation of a positive integer to it’s numeric value. |

Delete the node with the associated key in the linked list. |

Write a function to take a BST and a value k as input and have it print the kth smallest element in the BST. |

Write a function that takes a binary tree as input, and have it perform In order traversal – recursive and then iterative |

Write a function to take two arbitrarily long numbers in the form of Strings and multiply them, returning another String with the product. |

Write a function to calculate square root of a number |

Given a binary tree, write a function to find the length of the longest path in the tree. |

Find the minimum depth of binary search tree |

Translate the following text into the foreign language you wish to support. Be sure to write it in a tone that would be appropriate for customer service. |

General questions about projects, experience, what was one of the challenges u faced in your current project, how did you over come that |

Print a binary search tree. Each level on a new line. |

find the head of a linked list |

reverse the words in a sentence |

Recursively reverse a LL |

Write a piece of code to calculate a square root of a number. |

Implement the div operator without using / or % |

Who are Facebook’s competition? |

How to traverse a binary tree in order recursively. |

How to traverse a binary tree in order iteratively. (no parent pointers allowed). |

Output a single linked list in reverse, in linear time and constant space, and recursively |

Fibonacci Numbers – Iteratively and Recursively |

Pascal’s Triangle – print a row |

Implement square root function using basic operations ? |

Be prepared to articulate w/you are looking? |

Clear about future direction for you at FB… |

Write binary search? |

You are trying to rob houses on a street. Each house has some +ve amount of cash. Your goal is to rob houses such that you maximize the total robbed amount. The constraint is once you rob a house you cannot rob a house adjascent to that house. |

basic string operations, trees, sorting |

Explain the features of various offerings provided by facebook to its client to enable them to advertise better. |

I wasn’t asked any unexpected question. |

Given an array of integers, find the maximum number that can be reached by summing the best possible consecutive subsequence of the array. |

Design a linked list operation that takes a singly-linked list (only forward ptrs, no backward ptrs) as input and reverses the list. |

Given a 1TB file of serialized 4 byte integers, and 2GB of ram, sort the integers into a resulting 1TB file. My interviewer was very collaborative in entertaining various solution ideas until we came up with a combo that would work performantly and reduce the number of passes over the 1TB file and intermediate files. |

Given an array of integers and size find 3 integers that sum to zero. Explain a brute force algorithm |

Optimize the algorithm suggested above |

There was none. All questions were pretty much in line with the job and was expected. |

Given a matrix print it clockwise from the first element to the very inner element. |

Tell me about your experience? |

What was the difference between ArrayList and Vector. |

Why do you want to work for Facebook? |

What is your current salary? |

Tell me about some challenges you’ve faced recently in your job. |

What would do with a Facebook user who was having trouble with their account? |

Who was the best person you managed and why? Who was the worst and why? |

How does Facebook compare to its competitors? |

What problems could FB face in international markets |

What is you favorite FB feature and how would you describe to someone how to use it? |

Code a native Array extension in JavaScript |

Describe the most exciting project. |

Write a function to multiply two arbitrarily large integers. |

You are going to take some numbers as an input from a file. You need to witer a program to find longest increasing sequence. You should process it as soon as you are taking an input. After finishing the last input immediately you should be able to tell the sequence. Input: 1 5 3 4 6 4 Output: 3 4 6 |

A file contains 10 billions of Strings and need to find duplicate Strings. You have N number of systems available. How will you find duplicates? |

what are the key insights that you have taken away in your last few years working? |

What are the challenges of Facebook in international market? |

What makes you excited about this job? |

If you were analyzing thousands of transactions, what are some details that would stick out to you that a payment might be fraudulent? |

Why do you want to work for Facebook? |

How would you make the company proud of IT? |

I don’t know because I couldn’t hear the guy because his accent and his phone were so terrible. It was something about processing an array of strings in some special way. |

What’s the challenges for Facebook in international market? |

What makes Facebook different from Google and Yahoo? |

What about Facebook interests you? |

What problems do you think Facebook faces with fraud? |

which group I would be the best fit for and why? |

Given a set of integers, print out all its subsets. Write C/C++ code to solve it. |

Advantages of setting up new branches of Facebook at different locations? |

tell me about yourself |

Why Facebook? What do i know about online advertising? Basic stuff. Not really hard stuff. |

describe me an experience in leading a sales team |

I was asked to explain a few projects on my resume |

What is your favorite thing about Facebook Advertising |

Are there any bugs in your code? |

Why do you want to work for facebook? |

How do you keep yourself organized? |

How to sort 5TB of data using 5GB of memory? Do it efficiently: RAM CPU, CACHE. |

How to do a dot product (or other operations) on very very big vectors? (migh be very sparse and of unequal lenghts) Data structures with discution, clean algorithm, extensible if some relations are known. |

“What challenges will facebook face in their international market? (paragraphed)” |

Write some pseudo code to raise a number to a power. |

What is the command to display a routing table? |

What would you do to make it easier for less tech-savvy new user? (paraphrased) |

What is your favorite part about Facebook (application, etc)? (paraphrased) |

First question: for a random-ordered bucket of numbers 1 through 3000 with one number missing, how would you detect which number is missing? |

Check a number of hosts for a specific daemon and report the hosts where it is not running. |

Find the missing hosts from a list when compared to a reference list. |

Implement “double sqrt(double x)” in C++. |

Why Facebook? |

What keywords would suggest a client use in targeting customers interested in camping gear? What keywords would you suggest if they were writing an ad for Google? How do these differ? |

Binary trees, hash tables (and locking), cache |

What strategies for attracting new business would you apply in order to gain new accounts? |

If you were given 50 new clients today, how would you start? |

Draw out Facebook’s infrastructure. |

Programming test, take an arbitrary text input and transform it to a specified data format. |

Do you always dress like that? |

Tell me 2 things that you would bring to the job and 2 things that you would leave behind. |

Code a program to check if a given string is matching a given regular expression |

What are your strengths and weaknesses? |

What would you say to someone interested in advertising on a small budget? why should they choose us? |

What type of DNS records are there? |

With thousands of advertisers and a small team to oversee them what are some scalable solutions to make sure they are adhering to policy, while also keeping advertiser satisfaction high? |

Would you permit tobacco advertising? if Localized? |

Please write a program to merge 2 sorted arrays |

Each key on the telephone represents a list of letters. Given a telephone number, please write a program to output all the possible strings the telephone number represents. |

Reverse a singly linked list |

Given a binary tree, print the nodes level by level |

How do your current job duties carry over to this position? |

Why Facebook? |

Why do you want to leave your current job? |

What experience do you have with online fraud? |

What is a recent project you are really proud of? |

Why would your current boss recommend I hire you? |

How would you change facebook? How would you change the help center? |

Some questions on graph theory and then I was asked to write a function to check if a graph was bipartite. |

Given two binary trees, return true if they have same elements (irrespective of tree structure) |

Given a string, remove all chars from the string that are present in say another string called filter. |

There were some questions that I could not answer directly due to confidentiality issues to protect my current company. |

Why facebook? |

What is direct response advertising? |

Why do you think direct response advertising is effective? |

What would you improve on the site? |

Tell me about a time you disagreed with your manager about an issue, and what did you do to overcome it? |

What is the running time of quicksoft? |

What would you improve on the site? |

Tell me about a time you disagreed with your manager about an issue, and what did you do to overcome it? |

Given two events, each with a start and end time, implement a boolean check to see if they overlap. |

Reverse a string in-place using C. |

The question about what kind of position I would interest, frontend or backend? Since I never work before, I don’t know what aspect is more suitable for me. |

Implement stack using a queue |

Print out all combinations of k numbers out of 1…N e.g. when k = 2, n = 4 Print out 12, 13, 14, 23, 24, 34 |

Write a method to generate the Fibonacci series |

25 racehorses, no stopwatch. 5 tracks. Figure out the top three fastest horses in the fewest number of races. |

Write HTML/CSS to duplicate the behavior of the profile image in a facebook profile. When mouse over, a “edit image” link should display in the corner, and hide on mouse out. |

Write a function that takes in a roman numeral string and returns its decimal value. You may assume input is a valid roman numeral. |

Well, first off, do you have any questions for me? |

How can you maximize scalability by keeping team small and client satisfaction high |

When are you available for a phone interview? |

Why did you leave previous job? |

Implement strstr |

What will you bring to the team? |

Write a list class where the only data structure available is a stack |

Write a method to generate the Fibonacci series |

What are your strengths? |

Why online advertising? |

How does Facebook make money? |

Given an API call that returns a null value and no error message, how would you go about troubleshooting the problem? |

with thousands of advertisers and a small team to oversee them what are some scalable solutions to make sure they are adhering to policy, while also keeping advertiser satisfaction high? |

Write a program on the whiteboard to reverse a linked list |

1. Pick a product on Facebook. Please describe the logical data model for related fact and dimension tables, the aggregation tables you’d want to build for analytics, and the dashboard you’d build to monitor the product. |

Build a model to create a database of any and all possible nicknames for every user’s given name. |

What’s the complexity of Binary Search? |

How does FB work |

Suppose you have a matrix of numbers. How can you easily compute the sum of any rectangle (i.e. a range [row_start, row_end, col_start, col_end]) of those numbers? How would you code this? |

What’s the complexity of binary search? |

Given the numbers 1 to 1000, what is the minimum numbers guesses needed to find a specific number if you are given the hint “higher” or “lower” for each guess you make. |

Complexity of Bubble sort |

What are the pros and cons of a linked list vs. an array? |

Decribe your favourite feature/application. Try to write it as a letter/email to a user asking for your advice. |

Why do you want to work for Facebook? |

Are you a designer or developer? You can’t possibly be both. It’s incomprehensible. |

What’s the maximum theoretical number of TCP connections a host may have open? |

general question(s) re: my experience designing and shipping mobile products |

Scheduling question: What might be the problem with awards ads to the highest bidder, and how could we improve our revenue by doing something else? |

Why facebook? |

What sets facebook apart from other networking sites? |

How would you compare Facebook advertisements to competing advertisement outlets such as Google or Yahoo? |

Why facebook? |

What sets facebook apart from other similar networking sites? |

Given a function for a fair coin, write a function for a biased coin that returns heads 1/n times (n is a param). |

What have you been working on recently? |

Write a function that takes in an input array of strings and output a list of sets of anagrams. |

Please discuss what sets Facebook apart from other, similar web sites. |

Facebook is now offered in a number of languages. Please discuss some of the challenges that Facebook could face in international markets. |

How can you improve facebook user experience? |

How would you market X feature to the application developers, given you have limited time/resources? |

Given a set of inputs log: out: The output should be all the unique numbers and the count associated with them. |

What agencies do you work with? |

Pass a list of word to a function [car, rats, arc, star] and have the function group the words which are anagrams of eachother. |

Given an array, print the largest subarray that has elements in an increasing order |

How much experience do you have conducting international research. |

How do you find sequences of consequtive integers in a list that add to a particular number. |

Given a score S, and individual points p1,p2,…,pn. give all combinations of p that add up to s. |

Reverse a linked list. |

What do you want to work on? |

Basic coding and design questions. |

Given a set of characters, print out all possible permutations. |

Given a binary tree, print out the elements in order. Without recursion. |

Find the first letter in a string that does not have a pair. |

Write a function that takes in an integer and returns the number of ones set in the binary representation. |

How would you handle a difference of opinion between yours and a Senior technical member? |

Given a large string (haystack), find a substring (needle) on it. |

Given a list of strings, for each string, find if it has an anagram in the list. |

Do you have private projects? |

Do you like the new Facebook homepage? |

How to implement a DST? |

How could Facebook make more money? |

Nothing difficult or unexpected in the conversation. Good information swap. |

You have two lightbulbs and a 100-storey building. You want to find the floor at which the bulbs will break when dropped. Find the floor using the least number of drops. |

How can you possibly do technical management if you’re a very strong senior engineer? |

Explain the difference between a LEFT and RIGHT SQL JOIN |

In sudo-code write a program that takes an integer called N and prints out the Fibonacci sequence to the Nth digit. |

Categories: Uncategorized

## Recent Comments