Filter interviews by
Top trending discussions
I applied via Approached by Company and was interviewed in Jul 2024. There was 1 interview round.
Count pairs in an array that sum up to a target value.
Iterate through the array and store the frequency of each element in a hashmap.
For each element, check if the difference between the target and the element exists in the hashmap.
Increment the count of pairs if the difference is found in the hashmap.
Binary search can be used to solve moderate problems of arrays that are first increasing and then decreasing.
Use binary search to find the peak element in the array, which marks the transition from increasing to decreasing.
Divide the array into two parts based on the peak element and apply binary search on each part separately.
Handle edge cases such as when the array is strictly increasing or strictly decreasing.
Exampl
Design a system for a web surfing utility
Use a web crawler to gather data from websites
Implement a search engine to retrieve relevant information
Utilize a recommendation system to suggest related content
Include user authentication and personalized settings
Ensure scalability and performance for handling large amounts of data
Find the smallest subarray in an array that has a given target sum.
Use a sliding window approach to find the subarray with the target sum.
Keep track of the current sum of elements in the window and adjust the window size accordingly.
Start with a window of size 1 and expand it until the sum is greater than or equal to the target sum.
Shrink the window from the left side while updating the smallest subarray length until t
I applied via Naukri.com and was interviewed in Apr 2023. There were 2 interview rounds.
Find second max salary of employee by department in SQL
Use GROUP BY clause to group employees by department
Use MAX() function to find the maximum salary
Use subquery to find the second maximum salary
Find second max salary of employee by department using pandas dataframe
Group the dataframe by department
Sort the salaries in descending order
Select the second highest salary for each department
Python code to download file from aws s3 to local using boto3
Install boto3 library using pip
Create an S3 client using boto3
Use the download_file method to download the file from S3 to local
A program to count the number of words in a text file using PySpark.
Read the text file using SparkContext
Split the lines into words using flatMap
Map each word to a tuple of (word, 1)
Reduce by key to count the occurrences of each word
Save the output to a file
posted on 22 Feb 2024
Reasonging, isssues, maths, science, socila
Software Engineer
48
salaries
| ₹8 L/yr - ₹23.5 L/yr |
Senior Software Engineer 2
41
salaries
| ₹17 L/yr - ₹36 L/yr |
Principal Software Engineer
35
salaries
| ₹24 L/yr - ₹45.4 L/yr |
Software Engineer Level 1
31
salaries
| ₹7 L/yr - ₹15 L/yr |
Software Engineer2
20
salaries
| ₹11.8 L/yr - ₹32 L/yr |
Fractal Analytics
Mu Sigma
Tiger Analytics
LatentView Analytics