Filter interviews by
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 an...
Merge overlapping intervals and return sorted list of merged intervals.
Sort the intervals based on start times.
Iterate through intervals and merge overlapping intervals.
Return the merged intervals in sorted order.
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 oth...
Calculate the total number of distinct paths from a given source node to all other nodes in a directed graph.
Use dynamic programming to keep track of the number of paths from the source node to each node in the graph.
Consider using modular arithmetic to handle large numbers and prevent overflow.
Start by initializing the number of paths from the source node to itself as 1.
Iterate through the edges of the graph and ...
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 ...
Find the length of the longest strictly increasing subsequence in an array of integers.
Use dynamic programming to solve this problem efficiently.
Initialize an array to store the length of the longest increasing subsequence ending at each index.
Iterate through the array and update the length of the longest increasing subsequence for each element.
Return the maximum value in the array as the result.
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 for...
Given courses with prerequisites, determine a valid order to complete all courses.
Use topological sorting to find a valid order of courses.
Create a graph with courses as nodes and prerequisites as edges.
Start with courses that have no prerequisites and remove them from the graph.
Continue this process until all courses are taken or there are no valid courses left.
If there is a cycle in the graph, it is impossible t...
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 destinat...
Find the length of the longest path from a source cell to a destination cell in a binary matrix.
Use depth-first search (DFS) to explore all possible paths from source to destination.
Keep track of visited cells to avoid revisiting them.
Return the length of the longest path found, or -1 if no path exists.
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
neighbo...
Find the K closest points to the origin in a 2-D plane using Euclidean Distance.
Calculate the Euclidean Distance of each point from the origin
Sort the points based on their distances
Return the first K points as the closest neighbors
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' is...
Generate the power set of a sorted array of integers with individually sorted subsets.
Use recursion to generate all possible subsets by including or excluding each element in the array.
Sort each subset before adding it to the power set.
Handle base cases for empty array and single element array.
Ensure the subsets are unique by using a set data structure.
Time complexity can be exponential due to the nature of genera...
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 output...
Remove duplicates from a sorted array in-place with O(1) extra memory.
Use two pointers - one for iterating through the array and another for placing unique elements.
Compare current element with next element to identify duplicates and skip them.
Update array in-place by moving unique elements to the front.
Return the length of the array after removal of duplicates.
Convert a string representing a Roman numeral into its integer equivalent and return the result.
Roman numerals are represented by seven different symbols...
Convert a Roman numeral string to its integer equivalent.
Create a mapping of Roman numeral symbols to their integer values.
Iterate through the input string and add the corresponding integer values.
Handle cases where subtraction is needed (e.g., IV = 4, IX = 9).
Hadoop is a framework for distributed storage and processing of large data sets.
Hadoop is used for storing and processing big data across a distributed network of computers.
It is based on the MapReduce programming model, which allows for parallel processing of data.
Hadoop consists of HDFS for storage and YARN for resource management.
It is used for tasks like data warehousing, log processing, recommendation systems...
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 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 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 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
| ₹84.9 L/yr - ₹120 L/yr |
Software Developer
25
salaries
| ₹35.3 L/yr - ₹36.3 L/yr |
Data Scientist
21
salaries
| ₹66.6 L/yr - ₹130.5 L/yr |
Senior Software Engineer
19
salaries
| ₹15 L/yr - ₹44.5 L/yr |
Program Manager
15
salaries
| ₹20 L/yr - ₹65 L/yr |
Amazon
Apple
eBay