i
Whitehat jr
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Jul 2021. There were 4 interview rounds.
Add 2 linked lists and return final linked list
Create a new linked list to store the sum
Traverse both linked lists simultaneously and add the corresponding nodes
Handle carry over while adding nodes
If one linked list is longer than the other, add the remaining nodes to the sum list
Finding an element in a rotated sorted array.
Use binary search to find the pivot point where the array is rotated.
Determine which half of the array the target element is in.
Perform binary search on that half of the array to find the target element.
Handle edge cases such as when the target element is at the pivot point.
Given a matrix of characters and a word, find if the word exists in the matrix.
Traverse the matrix and check if the first letter of the word matches any cell.
If it does, check if the adjacent cells match the next letter of the word.
Repeat until the entire word is found or no match is found.
Algorithm to maximize profit by buying and selling stocks.
Iterate through the array of stock prices
Keep track of the minimum price seen so far
Calculate the profit if sold at current price
Update maximum profit seen so far
Return maximum profit
Top trending discussions
posted on 27 Jul 2021
I appeared for an interview in Feb 2021.
I applied via Job lever and was interviewed before Sep 2021. There were 2 interview rounds.
Easy leetcode code 2 questions , HTML5 css javascript simple screen design
I applied via LinkedIn and was interviewed in May 2021. There was 1 interview round.
posted on 23 Sep 2024
Normal Aptitute test with logical reasoning.
posted on 17 Aug 2022
I applied via LinkedIn and was interviewed in Feb 2022. There were 2 interview rounds.
React is a JavaScript library for building user interfaces. It is different from Angular in various ways.
React is a library while Angular is a framework
React uses virtual DOM while Angular uses real DOM
React is more flexible and easier to learn than Angular
Deep copy creates a new object with the same values while shallow copy creates a new reference to the same object
Hoisting is a JavaScript mechanism where variables a...
Implement custom hooks and array flat method
Custom hooks are reusable functions that allow you to extract component logic into reusable functions
Array flat method is used to flatten an array of nested arrays into a single array
To implement custom hooks, create a function that uses the useState and useEffect hooks
To implement array flat method, use the reduce method to flatten the array
I applied via Naukri.com and was interviewed before Oct 2023. There was 1 interview round.
Check if a string is the same forwards and backwards
Iterate through the string from both ends and compare characters
Use built-in functions like reverse() to check for palindrome
Ignore spaces and punctuation when checking for palindrome
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
Two dynamic programming challenges at the hard level on LeetCode and 10 medium-level SQL challenge.
I applied via Walk-in and was interviewed in Jun 2024. There was 1 interview round.
Python technical SQL basic
posted on 22 Nov 2024
I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.
Request lifecycle in Rails involves routing, controller actions, rendering views, and responding to the client.
1. Request comes in through the browser or API endpoint.
2. Rails router determines which controller and action to route the request to.
3. Controller action processes the request, interacts with the model, and prepares data for the view.
4. View template is rendered with the data from the controller.
5. Response ...
Implement Merge Sort algorithm in Ruby
Divide the array into two halves recursively
Merge the sorted halves back together
Use a helper method to merge the two halves
based on 5 reviews
Rating in categories
Sales Manager
2.2k
salaries
| ₹3 L/yr - ₹12.5 L/yr |
Coding Instructor
322
salaries
| ₹2 L/yr - ₹8.5 L/yr |
Relationship Manager
274
salaries
| ₹3 L/yr - ₹9 L/yr |
Manager
208
salaries
| ₹4.4 L/yr - ₹15 L/yr |
Assistant Manager
164
salaries
| ₹3.5 L/yr - ₹12 L/yr |
BYJU'S
Cuemath
Vedantu
Unacademy