Filter interviews by
Facebook Chat is a real-time messaging system that allows users to send and receive instant messages.
Facebook Chat uses a client-server architecture.
It utilizes long polling or WebSockets for real-time communication.
Messages are stored in a message queue for delivery.
Chat messages are encrypted for security.
Facebook Chat supports features like read receipts, typing indicators, and group chats.
Given an array of distinct positive integers ARR
and a non-negative integer 'B', find all unique combinations in the array where the sum is equal to 'B'. Numbers can be ch...
The task is to find all unique combinations in an array whose sum is equal to a given target sum.
Use backtracking to generate all possible combinations
Sort the array in non-decreasing order to ensure elements in each combination are in non-decreasing order
Start with an empty combination and iterate through the array, adding each element to the combination and recursively calling the function with the remaining sum
...
Demand paging is a memory management technique where pages are loaded into memory only when needed.
Demand paging allows for efficient memory utilization by loading pages into memory on demand.
It reduces the amount of initial memory required to start a process.
When a page is needed but not in memory, a page fault occurs and the required page is loaded from disk.
Demand paging allows for larger virtual memory space t...
Given a binary tree where each node contains an integer value, and a value 'K', your task is to find all the paths in the binary tree such that the sum of the node values in e...
The task is to print every path of a binary tree with the sum of nodes in the path as 'K'.
Traverse the binary tree and keep track of the current path and its sum
At each node, check if the sum of the current path equals 'K'
If yes, add the current path to the result
Continue traversing the left and right subtrees recursively
Remove the current node from the path before backtracking
Given a list ACCOUNTS
where each element consists of a list of strings, with the first element being the name of the account holder, and the subsequent elements being the email add...
The task is to merge accounts belonging to the same person based on common emails and return the merged accounts.
Iterate through each account and create a mapping of emails to account holders
Iterate through the mapping and merge accounts with common emails
Sort the merged accounts and return the result
The goal is to construct a binary tree from given preorder and inorder traversal lists of the tree nodes.
preorder = [1, 2, 4...
The task is to construct a binary tree using the given inorder and preorder traversals.
Use the preorder traversal to determine the root of the binary tree
Use the inorder traversal to determine the left and right subtrees of the root
Recursively construct the left and right subtrees
Return the root node of the constructed binary tree
Ninja is adventurous and loves traveling while being mindful of his expenses. Given a set of 'N' stations connected by 'M' trains, each train starting from station 'A' and re...
The task is to find the cheapest price from the given source to destination with up to K stops.
Read the number of test cases
For each test case, read the number of stations and trains
Read the details of each train (source, destination, ticket price)
Read the source station, destination station, and maximum number of stops
Implement a graph data structure to represent the stations and trains
Use a modified version of D...
Given a matrix of non-negative integers of size 'N x M', where 'N' and 'M' denote the number of rows and columns respectively, find the length of th...
The task is to find the length of the longest increasing path in a 2D matrix, where you can move in four directions: left, right, up, or down from each cell.
Traverse the matrix and for each cell, find the longest increasing path starting from that cell
Use dynamic programming to store the length of the longest increasing path for each cell
Recursively explore all four directions from each cell, checking if the next ...
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 ...
Given a rotated sorted array, find the index of a given integer 'K'.
Use binary search to find the pivot point where the array is rotated.
Then perform binary search on the appropriate half of the array to find 'K'.
Handle cases where 'K' is not present in the array by returning -1.
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 eleme...
Given an array and an index, find the number of elements smaller than the element at that index appearing before it in the array.
Iterate through the array up to index K and count the number of elements smaller than ARR[K].
Return the count as the rank of ARR[K].
Handle edge cases like empty array or invalid index K.
Effective social media strategies can help manage communication and engagement during a pandemic situation.
Increase transparency: Share regular updates about the situation and your organization's response, like how companies like Zoom communicated their service updates.
Engage with the community: Use social media to foster a sense of community, as seen with brands hosting virtual events or challenges.
Provide valuable co...
Nations implemented various actions during the pandemic, focusing on public health, economic support, and social measures.
Lockdowns and stay-at-home orders to curb virus spread.
Increased funding for healthcare systems and vaccine development.
Public health campaigns promoting hygiene and social distancing.
Economic stimulus packages to support businesses and individuals.
Remote work policies and digital transformation in ...
I applied via Company Website and was interviewed in Jun 2024. There was 1 interview round.
I have implemented various technical improvements in codes to enhance performance and functionality.
Implemented caching mechanisms to reduce load times
Optimized database queries for faster retrieval of data
Introduced error handling techniques to improve code reliability
Utilized design patterns to make the codebase more maintainable
Refactored legacy code to adhere to best practices
I applied via LinkedIn and was interviewed in Jul 2024. There was 1 interview round.
I want to join Facebook because of its innovative technology, global impact, and opportunities for growth.
Innovative technology: Facebook is known for its cutting-edge technology and constant innovation.
Global impact: Working at Facebook would allow me to contribute to a platform that connects billions of people worldwide.
Opportunities for growth: Facebook offers a dynamic and fast-paced work environment with ample opp...
I appreciate the personalized news feed feature on Facebook.
Personalized news feed shows content based on user interests
Helps users stay updated on relevant information
Allows users to engage with content they are interested in
I applied via AmbitionBox and was interviewed before Oct 2023. There were 8 interview rounds.
I would like to teach a holistic approach to yoga and meditation that focuses on spiritual growth, physical well-being, and personal development for the next generation.
Incorporate mindfulness practices to cultivate self-awareness and inner peace
Teach asanas (yoga postures) for physical strength, flexibility, and balance
Guide students in pranayama (breath control) techniques for energy and relaxation
Introduce meditatio...
Whatever we know we have to discuss for each and every one to analyse the elements has different of quality of different of uses like that as I am a sky
Every person has come different places of different situation different area of different educations and different relationships so discussion of group is each and everyone to develop in self
I appeared for an interview in Dec 2024, where I was asked the following questions.
I aspire to become a leading social media strategist, creating impactful content that engages audiences and drives brand growth.
Develop expertise in social media analytics to measure campaign success.
Create compelling content that resonates with target audiences, like viral posts or engaging videos.
Stay updated on industry trends to implement innovative strategies, such as using emerging platforms.
Build a personal bran...
As a Social Media Manager and Content Writer, I create engaging content and manage online presence to connect with audiences effectively.
Develop and implement social media strategies to enhance brand visibility.
Create compelling content for various platforms, such as blogs, Instagram, and Twitter.
Analyze engagement metrics to refine content and improve audience interaction.
Collaborate with designers and marketers to en...
Earthquakes can lead to fatalities from injuries, building collapses, and lack of resources; preparedness and response are key.
Injuries from falling debris: Ensure buildings are structurally sound and conduct regular safety drills.
Building collapses: Advocate for strict building codes and retrofitting older structures.
Lack of medical resources: Establish emergency response plans and stockpile essential supplies.
Psychol...
War often leads to destruction and suffering, rarely providing lasting solutions for humanity's challenges.
War can result in significant loss of life and trauma, as seen in World War II.
Historical conflicts, like the Vietnam War, often lead to long-term societal divisions.
While some argue war can lead to political change, such as the American Revolution, the costs are immense.
Peaceful resolutions and diplomacy have pro...
Addressing real-life issues post-war requires empathy, community engagement, and effective communication strategies.
1. Foster open dialogue: Create platforms for affected individuals to share their experiences, such as community forums or social media groups.
2. Provide mental health support: Collaborate with mental health professionals to offer counseling services for trauma recovery.
3. Highlight success stories: Share...
Wars lead to numerous societal, economic, and psychological challenges that persist long after the conflict ends.
Displacement of populations: Millions may become refugees, as seen in the Syrian civil war.
Economic instability: War can devastate economies, leading to unemployment and poverty, like in post-war Iraq.
Psychological trauma: Many veterans and civilians suffer from PTSD, affecting mental health services.
Destruc...
Facing natural disasters requires preparedness, community support, and effective communication strategies to minimize impact and ensure safety.
Develop an emergency plan that includes evacuation routes and communication methods.
Create a disaster supply kit with essentials like water, food, and first aid supplies.
Engage in community drills to practice response to various disasters, such as earthquakes or floods.
Utilize s...
I applied via Campus Placement and was interviewed in May 2024. There was 1 interview round.
Write program to sort data
DSA round was there it was good
I applied via Job Portal and was interviewed in Dec 2023. There was 1 interview round.
I applied via Company Website and was interviewed in Dec 2023. There were 2 interview rounds.
All models should be made available or their complete information should be given in fresher training.
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 39 interview experiences
Difficulty level
Duration
based on 168 reviews
Rating in categories
Software Engineer
87
salaries
| ₹70.1 L/yr - ₹120 L/yr |
Software Developer
25
salaries
| ₹27.8 L/yr - ₹51.5 L/yr |
Data Scientist
23
salaries
| ₹42.2 L/yr - ₹75.5 L/yr |
Senior Software Engineer
21
salaries
| ₹29.3 L/yr - ₹61.2 L/yr |
Program Manager
15
salaries
| ₹32.4 L/yr - ₹53.1 L/yr |
Amazon
Apple
eBay