Skip to content

Tag Archives: Facebook

Given a Romal numeral, the task is to find its corresponding decimal value. Example :  Input: IX Output: 9 IX is a Roman symbol which… Read More
Given an unsorted array of nonnegative integers, find a continuous subarray which adds to a given number. Examples :  Input: arr[] = {1, 4, 20, 3,… Read More
Given an unsorted array of nonnegative integers, find a continuous subarray which adds to a given number. Examples :  Input: arr[] = {1, 4, 20, 3,… Read More
Given an unsorted array of nonnegative integers, find a continuous subarray which adds to a given number. Examples :  Input: arr[] = {1, 4, 20, 3,… Read More
Given an unsorted array of nonnegative integers, find a continuous subarray which adds to a given number. Examples :  Input: arr[] = {1, 4, 20, 3,… Read More
Given an unsorted array of nonnegative integers, find a continuous subarray which adds to a given number. Examples :  Input: arr[] = {1, 4, 20, 3,… Read More
Given a square matrix, turn it by 90 degrees in anti-clockwise direction without using any extra space.Examples :   Input: Matrix: 1 2 3 4 5… Read More
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.   This takes place in an online collaborative editor shared between you and the interviewer (or on… Read More

Start Your Coding Journey Now!