Filter interviews by
The command to kill all running Java processes is 'pkill -f java'
Use the 'pkill' command followed by the '-f' flag and 'java' keyword to kill all Java processes
Be cautious when using this command as it will terminate all running Java processes
Make sure to have the necessary permissions to kill processes on the system
Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.
XSS occurs when a web application allows users to input unvalidated data that is then displayed on the page without proper encoding.
There are three main types of XSS: stored XSS, reflected XSS, and DOM-based XSS.
An example of XSS is when a user inputs a script into a...
Ninja is tasked with merging two given sorted integer arrays ARR1
and ARR2
of sizes 'M' and 'N', respectively, such that the merged result is a single sorted array wi...
Merge two sorted arrays into one sorted array in place.
Use two pointers to compare elements from both arrays and place them in the correct position in ARR1.
Start from the end of ARR1 and compare elements from both arrays, placing the larger element at the end of ARR1.
Continue this process until all elements from ARR2 are merged into ARR1.
Given a document represented as an array/list ARR
of words with length N
, find the smallest distance between two given words for multiple queries. The distance is defined as the d...
Find the smallest distance between two words in a document for multiple queries.
Iterate through the document array to find the indices of the two words in each query.
Calculate the absolute difference between the indices to get the distance.
If a word from the query is not present in the document, return the length of the document array.
Repeat the process for each query and output the smallest distance for each.
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...
Find all unique combinations in an array where the sum is equal to a given target sum, with elements in non-decreasing order.
Use backtracking to generate all possible combinations.
Sort the array to ensure elements are in non-decreasing order.
Track the current combination and sum while backtracking.
Terminate recursion when the sum equals the target sum.
Avoid duplicates by skipping elements that have been used in pr...
Given a binary tree of integers, return the level order traversal of the binary tree.
The first line contains an integer 'T', representing the number of tes...
The problem requires implementing a function to return the level order traversal of a binary tree.
Implement a function that takes the root of the binary tree as input and returns the level order traversal of the tree.
Use a queue data structure to perform level order traversal.
Process each level of the tree one by one, starting from the root node.
Print the node values at each level in the order they appear from lef...
Given two graphs – a directed graph DIR_GRAPH
and an undirected graph UNDIR_GRAPH
– you are tasked with counting the number of triangles in each of the graphs.
In th...
Count the number of triangles in a directed and undirected graph.
Parse the input to extract vertices, edges, and edges between vertices.
Implement a function to count triangles in both directed and undirected graphs.
Return the counts of triangles for each test case.
Given an integer 'N', continue summing its digits until the result is a single-digit number. Your task is to determine the final value of 'N' after applying this operation i...
Given an integer, sum its digits until a single-digit number is obtained.
Iteratively sum the digits of the integer until a single-digit number is reached
Output the final single-digit integer for each test case
Handle multiple test cases efficiently
Given the stock prices for 'N' days, your goal is to determine the maximum profit that can be achieved. You can buy and sell the stocks any number of times but can only...
The goal is to determine the maximum profit that can be achieved by buying and selling stocks on different days.
Iterate through the stock prices and buy on days when the price is lower than the next day, and sell on days when the price is higher than the next day.
Calculate the profit by summing up the differences between buying and selling prices.
Repeat the process for each test case and output the maximum profit ...
You are given an array arr
consisting of N
integers. Construct a number from these integers such that, for each bit position, if the quantity of set bits (1s) is greater than...
Generate a number based on majority set bits in given integers array.
Iterate through each bit position and count set and unset bits
Construct the resulting number based on majority set bits at each position
Return the final constructed number
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
Prepare for a mock success review with the client, during which they will provide you with data for analysis. You will need to analyze this data and offer recommendations to your customers. You have approximately five days to prepare.
I applied via Approached by Company and was interviewed in Aug 2024. There were 3 interview rounds.
Asked Fizbuzz and Char replace in a string
Design a monitoring system for SiteOps
Identify key metrics to monitor such as server uptime, response time, and error rates
Implement monitoring tools like Nagios, Zabbix, or Prometheus to track these metrics
Set up alerts for critical thresholds to notify the team in case of issues
Create dashboards to visualize the data and trends for easy monitoring
Regularly review and update the monitoring system to ensure it remains ...
Automation in SiteOps involves using tools and scripts to streamline processes and reduce manual tasks.
Automated deployment scripts for deploying code changes to servers
Monitoring tools that automatically alert when server resources are low
Automated backup processes for data protection
Scheduled tasks for routine maintenance like database cleanup
I appeared for an interview in Apr 2025, where I was asked the following questions.
Creating a scalable live chat feature for YouTube live streams involves real-time messaging, UI design, and backend architecture.
WebSocket Implementation: Use WebSockets for real-time communication, allowing users to send and receive messages instantly without refreshing the page.
Scalable Backend: Implement a microservices architecture with load balancers to handle high traffic during live streams, ensuring reliability...
I applied via Job Fair and was interviewed in Jul 2024. There were 2 interview rounds.
More focus on dp,graphs.
Leaves of a tree are the nodes with no children in a tree data structure.
Traverse the tree and identify nodes with no children.
Use depth-first search or breadth-first search algorithms to find leaves.
Examples: In a binary tree, leaves are nodes with no left or right child.
In a general tree, leaves are nodes with no children in their child list.
I completed internships at ABC Company and XYZ Company during my undergraduate studies.
Interned at ABC Company working on web development projects
Interned at XYZ Company assisting with software testing and quality assurance
Gained hands-on experience in coding, debugging, and problem-solving
I appeared for an interview in Feb 2025, where I was asked the following questions.
A string repeat function generates a new string by repeating the input string a specified number of times.
Define a function named `repeatString` that takes two parameters: `str` (the string to repeat) and `num` (the number of repetitions).
Use a loop or string methods to concatenate the string `num` times.
Example: `repeatString('abc', 3)` should return 'abcabcabc'.
Consider edge cases: if `num` is 0, return an empty stri...
I applied via LinkedIn and was interviewed in Apr 2024. There were 4 interview rounds.
This was a technical round where they check how you approach a problem. The questions were around SQL, Linux commands, basics of HTML and Rest API basic troubleshooting
I applied via LinkedIn and was interviewed in Jul 2024. There were 2 interview rounds.
Case study on any industry review, with inmail, discovery call and elevator pitch
I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.
Online test on hacker rank . difficult level
Assignmemt on sorting array
Top trending discussions
Some of the top questions asked at the LinkedIn interview -
The duration of LinkedIn interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 44 interview experiences
Difficulty level
Duration
based on 200 reviews
Rating in categories
Software Engineer
102
salaries
| ₹29.8 L/yr - ₹50 L/yr |
Senior Software Engineer
88
salaries
| ₹40 L/yr - ₹67 L/yr |
Trust and Safety Specialist
75
salaries
| ₹5.5 L/yr - ₹10.1 L/yr |
Software Developer
69
salaries
| ₹19.9 L/yr - ₹33.2 L/yr |
Account Director
30
salaries
| ₹18.3 L/yr - ₹33.5 L/yr |
Amazon
Flipkart
Udaan
BigBasket