Filter interviews by
I was interviewed before Sep 2020.
Round duration - 45 minutes
Round difficulty - Medium
It was a 45 min coding interview which has 3 sections, the first 5 min are reserved for you & your interviewer to introduce each other. After which you're expected to solve 2-3 coding problems with bug-free code and while solving make sure you think out loud and discuss your approach with your interviewer before start coding.
At the end of the interview, you'll be asked to discuss any questions or doubts if you've any.
Given an integer array ARR
of size N
, perform the following operations:
- update(l, r, val):
Add (val + i)
to arr[l + i]
for all 0 ≤ i ≤ r - l
.
- rangeSu...
You are provided with a string expression
consisting of characters '+', '-', '*', '/', '(', ')' and digits '0' to '9', representing an arithmetic express...
Round duration - 60 minutes
Round difficulty - Hard
It was a 60 min interview of which the first 15 min were dedicated to behavioral questions and the remaining 45 min was the same as the last round.
The way behavioral round works is that your interviewer will give you a situation and will seek your inputs on how would you tackle this or may ask you to share some incidents from your past where you exhibited a few leadership skills. I would suggest being prepared upfront with 1-2 stories from your past internships or college life where you led a team or handled a tough situation.
You are given three strings 'A', 'B', and 'C'. Determine if 'C' is formed by interleaving 'A' and 'B'.
String 'C' is an interleaving of 'A' and 'B' if the lengt...
Given an undirected graph represented by vertices and edges, identify and return a path between two specified vertices using Depth First Search (DFS). The path should be pres...
Tip 1 : Start as early as you can, and be consistent while you are practicing. It's like the Law of Inertia i.e initially it seems very hard but once you get into practice you'll start enjoying the process.
Tip 2 : If you have enough(3-4 months) time then try to solve problems in a Depth First manner i.e explore each topic before jumping to the next one.
Tip 3 : Make sure to cover company-specific problems before your final interview this would help you to find a pattern in what exactly the organization is seeking in a candidate. Also, if possible try to talk to people who have gone through the same process in the past.
Tip 1 : Recruiters love seeing things that you have done other than your academics, so make sure you have good side projects to showcase, participate in Hackathons, and coding competition.
Tip 2 : Try contributing to open-source projects but don't limit yourself to just GSoC, RGSoC, or Outreachy. Contribute to projects that have a huge impact this would help your profile to stand out.
I applied via LinkedIn and was interviewed before Aug 2021. There was 1 interview round.
I had an uncooperative team member and successfully resolved the issue.
Identified the root cause of the team member's uncooperative behavior
Had a one-on-one conversation to understand their concerns and perspective
Offered support and resources to address any challenges they were facing
Established clear expectations and communicated the impact of their behavior on the team
Worked together to find common ground and develo...
I keep myself organized by using a combination of digital tools and time management techniques.
I use a digital calendar to schedule and prioritize tasks.
I create to-do lists and break down larger tasks into smaller, manageable steps.
I use project management software to track progress and deadlines.
I regularly review and update my task list to ensure nothing falls through the cracks.
I practice effective time management ...
I was interviewed before Sep 2020.
Round duration - 30 minutes
Round difficulty - Easy
2 easy problems for coding.
Given a positive integer N
, your task is to return all the prime numbers less than or equal to N
.
1) A prime number is a number that has only two factors:...
Given an array ARR
consisting of 'N' non-negative integers, compute the running absolute difference of elements at even and odd index positions, respectively.
Round duration - 30 minutes
Round difficulty - Hard
Face to face interview, design and coding involved.
Tip 1 : Never leave any topic from any chapter / Subject
Tip 2 : Learn to explain your thoughts well
Tip 3 : Learn from previous experiences / interviews / problems asked.
Tip 4 : Atleast 4 projects in Resume
Tip 1 : Atleast 4 projects on Resume
Tip 2 : Do not write false things. You always get caught. Be genuine.
Facebook interview questions for popular designations
I applied via Job Fair and was interviewed before Mar 2021. There was 1 interview round.
The responsibility for illegal rules lies with the individuals or entities that create and enforce them.
Illegal rules are typically created by individuals or organizations in positions of authority or power.
Government bodies, legislative bodies, or regulatory agencies may be responsible for creating illegal rules.
Enforcement agencies, such as the police or regulatory authorities, may be responsible for enforcing illega...
Get interview-ready with Top Facebook Interview Questions
I was interviewed before Dec 2020.
Round duration - 90 minutes
Round difficulty - Hard
This was an online coding round where we were supposed to solve 2 questions under 90 minutes . Both the questions in my set were related to Graphs and were quite tricky and heavy to implement.
Given a directed graph with a specified number of vertices V
and edges E
, your task is to calculate the total number of distinct paths from a given source node S
to all ot...
Steps:
1) Create a recursive function that takes index of node of a graph and the destination index. Keep a global or a static variable count to store the count. Keep a record of the nodes visited in the current path by passing a visited array by value (instead of reference, which would not be limited to the current path).
2) If the current nodes is the destination increase the count.
3) Else for all the adjacent no...
You are provided with a number of courses 'N', some of which have prerequisites. There is a matrix named 'PREREQUISITES' of size 'M' x 2. This matrix indicates that fo...
Approach : This problem was based on Topological Sorting .
The first node in the topological ordering will be the node that doesn't have any incoming edges. Essentially, any node that has an in-degree of 0 can start the topologically sorted order. If there are multiple such nodes, their relative order doesn't matter and they can appear in any order.
Algorithm :
1) Initialize a queue, Q to keep a track of all the nod...
Round duration - 60 Minutes
Round difficulty - Medium
This was a Data Structures and Algorithms round with some standard questions . I was expected to come up with an
efficient approach and code it as well .
You are provided with 'N' intervals, each containing two integers denoting the start time and end time of the interval.
Your task is to merge all overlapping intervals a...
Steps :
1) First, we sort the list as described.
2) Then, we insert the first interval into our merged list and continue considering each interval in turn as follows -
2.1) If the current interval begins after the previous interval ends, then they do not overlap and we can
append the current interval to merged.
2.2) Otherwise, they do overlap, and we merge them by updating the end of the previo...
Given a 2-dimensional binary matrix called Mat
of size N x M that consists solely of 0s and 1s, find the length of the longest path from a specified source cell to a destina...
Round duration - 50 Minutes
Round difficulty - Medium
This was also a DSA round where I was asked to code only one of the questions but I eventually ended up coding both
as I had some spare time and explained my approches very smoothly to the interviewer . This round went preety well .
Given an array of integers with 'N' elements, determine the length of the longest subsequence where each element is greater than the previous element. This...
Approach 1 (Using DP ) :
This is a classic Dynamic Programming problem.
Steps :
1) Let dp[i] is the longest increase subsequence which ends at nums[i] .
2) For every i from 0 to n , traverse backwards from j=i-1 to j=0 and check if nums[i]>nums[j].
3) If nums[i]>nums[j] , update dp[i]=max(dp[i] , dp[j]+1)
4) Finally return the maximum element from the DP array
TC: O(N^2)
SC: O(N)
Approach 2 (Using Binary Searc...
Given a rotated sorted array ARR
of size 'N' and an integer 'K', determine the index at which 'K' is present in the array.
1. If 'K' is not present...
This was a preety standard Binary Search Question and I had solved this question before on platforms like LeetCode and CodeStudio . I was asked this question to test my implementation skills and how well do I handle Edge Cases .
Approach :
1) The idea is to find the pivot point, divide the array in two sub-arrays and perform binary search.
2) The main idea for finding pivot is – for a sorted (in increasing order) and pivo...
Round duration - 50 Minutes
Round difficulty - Medium
This was also a DSA round with 2 questions of Medium to Hard difficulty . I was expected to follow some clean code and OOPS principles to write the code in this round .
Given an array of integers ARR
and an integer K
, determine the rank of the element ARR[K]
.
The rank of any element in ARR
is defined as the number of elem...
Step 1- Making the ‘BST’ :
Let insert(TreeNode* <int> ROOT, int VAL) be a function which insert data into ‘BST’.
Now consider the following steps to implement the function :
Design a data structure for a Least Recently Used (LRU) cache that supports the following operations:
1. get(key)
- Return the value of the key if it exists in the cache; otherw...
Approach :
Structure of an LRU Cache :
1) In practice, LRU cache is a kind of Queue — if an element is reaccessed, it goes to the end of the eviction order
2) This queue will have a specific capacity as the cache has a limited size. Whenever a new element is brought in, it
is added at the head of the queue. When eviction happens, it happens from the tail of the queue.
3) Hitting data in the cache must be done in const...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I was interviewed before Dec 2020.
Round duration - 60 Minutes
Round difficulty - Medium
This was a Data Structures and Algorithms round with preety good questions . I was expected to come up with an efficient approach and code it as well .
Your house is located at the origin (0,0) of a 2-D plane. There are N
neighbors living at different points on the plane. Your goal is to visit exactly K
neighb...
Given a sorted array of 'N' integers, your task is to generate the power set for this array. Each subset of this power set should be individually sorted.
A power set of a set 'ARR' i...
Round duration - 50 Minutes
Round difficulty - Hard
This was also a DSA round where I was asked to code only one of the questions but I eventually ended up coding both as I had some spare time and explained my approches very smoothly to the interviewer . This round went preety well .
Convert a string representing a Roman numeral into its integer equivalent and return the result.
Roman numerals are represented by seven different symbol...
You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to find and return a list of all pairs of elements where each sum of a pair equals 'S'.
Round duration - 50 Minutes
Round difficulty - Medium
This was also a DSA round with 2 questions . One was implementation heavy and the other was related to recursion and so I handled it carefully so that my code does not run into TLE or Segmentation Fault.
You are provided with a string expression
consisting of characters '+', '-', '*', '/', '(', ')' and digits '0' to '9', representing an arithmetic express...
You are given a sorted integer array ARR
of size N
. Your task is to remove the duplicates in such a way that each element appears only once. The outpu...
Round duration - 50 Minutes
Round difficulty - Medium
This was a typical System Design round where I was asked about the various features of Facebook and what sort of data structures and algorithms are used in implementing them .
Round duration - 50 Minutes
Round difficulty - Medium
This was a preety intense round as I was grilled more on my System Design concepts but eventually I was able to asnwers all the questions with some help from the interviewer.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I was interviewed before Sep 2020.
Round duration - 75 minutes
Round difficulty - Easy
Timing it is around 11 am and Environment is good .
A ninja bird can gather fruits from trees arranged in a circle. Each tree has an associated fruit value. The bird can gather all the fruits from a tree i...
You are given a decimal number 'N'. Your task is to convert this number into a base 58 representation.
The Base58 alphabet is defined by the following characters: “12...
Round duration - 45 mintues
Round difficulty - Medium
Environment was very friendly but questions asked are hard
You are provided with an array ARR
consisting of N
distinct integers in ascending order and an integer TARGET
. Your objective is to count all the distinct pairs in ARR
whose sum...
Given an array or list ARR
consisting of N
integers, your task is to identify all distinct triplets within the array that sum up to a specified number K
.
A t...
Tip 1 : Practice Atleast 500 Questions
Tip 2 : Do atleast 1 good projects
Tip 3 : You should be able to explain your project
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.
I was interviewed in May 2017.
Dealing with negative feedback and managing a social media crisis
Handling negative comments and reviews on social media platforms
Addressing customer complaints and resolving issues in a timely manner
Managing a social media crisis and developing a crisis communication plan
Monitoring online conversations and sentiment analysis to identify potential issues
Collaborating with cross-functional teams to provide accurate and t...
Social Media Analyst is responsible for monitoring, analyzing, and optimizing social media strategies to increase engagement and reach.
Monitor social media platforms for trends and insights
Analyze data to measure the success of social media campaigns
Optimize content and strategies based on performance metrics
Collaborate with marketing team to align social media efforts with overall goals
Top trending discussions
Some of the top questions asked at the Facebook interview -
The duration of Facebook interview process can vary, but typically it takes about 2-4 weeks to complete.
based on 34 interviews
Interview experience
based on 160 reviews
Rating in categories
Software Engineer
73
salaries
| ₹47.1 L/yr - ₹102.7 L/yr |
Software Developer
19
salaries
| ₹32.6 L/yr - ₹59.5 L/yr |
Senior Software Engineer
19
salaries
| ₹15.4 L/yr - ₹63 L/yr |
Data Scientist
17
salaries
| ₹59.9 L/yr - ₹150 L/yr |
Manager
15
salaries
| ₹21 L/yr - ₹80 L/yr |
Amazon
Apple
eBay