i
Whitehat jr
Filter interviews by
I applied via Recruitment Consulltant and was interviewed before Feb 2023. There was 1 interview round.
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
I applied via LinkedIn and was interviewed before May 2021. There were 2 interview rounds.
var, let, and const are all used to declare variables in JavaScript, but they have different scoping rules and behaviors.
var has function scope and can be redeclared and reassigned
let has block scope and can be reassigned but not redeclared
const has block scope and cannot be reassigned or redeclared
Use const for values that won't change, let for values that will, and avoid var
CSS box model defines the layout of elements on a webpage. Padding and margin can apply to block-level elements but not to inline elements.
CSS box model consists of content, padding, border, and margin around an element.
Padding adds space inside the border of an element.
Margin adds space outside the border of an element.
Padding and margin can apply to block-level elements like <div> but not to inline elements lik
Arrow functions are shorter syntax for writing function expressions.
Arrow functions do not have their own 'this' keyword.
Arrow functions cannot be used as constructors.
Arrow functions do not have the 'arguments' object.
Arrow functions are more concise and easier to read.
Regular functions are better for methods and constructors.
JavaScript asynchronous model allows non-blocking code execution by using callbacks and promises.
JavaScript uses an event loop to handle asynchronous operations.
Callbacks are functions passed as arguments to other functions and executed when the operation is complete.
Promises are objects that represent the eventual completion or failure of an asynchronous operation.
Async/await is a newer syntax that allows writing asyn...
Whitehat jr interview questions for designations
I applied via Referral and was interviewed before Aug 2021. There was 1 interview round.
Answer on how to list in react and the input box
Use the map function to create a list in React
Use the state to store the input value
Use onChange event to update the state when the input value changes
Use onSubmit event to handle the form submission
Get interview-ready with Top Whitehat jr Interview Questions
Top trending discussions
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.
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.4k
salaries
| ₹2.5 L/yr - ₹12.5 L/yr |
Coding Instructor
338
salaries
| ₹2 L/yr - ₹8 L/yr |
Relationship Manager
300
salaries
| ₹3 L/yr - ₹9 L/yr |
Teacher
219
salaries
| ₹2.3 L/yr - ₹8 L/yr |
Manager
206
salaries
| ₹4.4 L/yr - ₹15 L/yr |
BYJU'S
Cuemath
Vedantu
Unacademy