Skip to content

Tag Archives: Facebook

Given an array A[] consisting of N intervals and a target interval X, the task is to find the minimum number of intervals from the… Read More
Given a string S containing digits and character ‘*’ i.e. hidden character, the task is to find the number of ways to decode this hidden… Read More
Given a string str, consisting of lowercase alphabets, the task is to find the shortest string which is not a subsequence of the given string.… Read More
Given an array wood[] of size N, representing the length of N pieces of wood and an integer K, at least K pieces of the… Read More
I went through Facebook interview rounds during December 2016 at their California Headquarters, Menlo Park. The process prior to onsite involved 3 rounds : Recruiter… Read More
Given an encoded string str consisting of digits and * which can be filled by any digit 1 – 9, the task is to find… Read More
Problem statement: Consider a row of n coins of values v1 . . . vn, where n is even. We play a game against an… Read More
As per Facebook’s official page, below are coding expections.Hey geek! It's time to become a success story instead of reading them. Check out our most… Read More
Round 1: Went through my work experience and resume, got asked a bunch of soft questions like what was my most impactful work project, how… Read More
Given k sorted arrays of possibly different sizes, find m-th smallest value in the merged array.Examples:   Input: m = 5 arr[][] = { {1, 3},… Read More
I appeared for interview at Facebook, London for the post of Security Analyst once your resume is selected by the talent sourcer you will be… Read More
Given a binary array, we can flip all the 1 are in the left part and all the 0 to the right part. Calculate the… Read More
Given a string s, break s such that every substring of the partition can be found in the dictionary. Return the minimum break needed. Examples:   Given… Read More
There is a given binary matrix, we need to find if there exists any rectangle or square in the given matrix whose all four corners… Read More
Given that integers are being read from a data stream. Find the median of all the elements read so far starting from the first integer… Read More

Start Your Coding Journey Now!