# 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