i
Planet Spark
Filter interviews by
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
Top trending discussions
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
Coding test around front end using react
posted on 23 Sep 2024
Normal Aptitute test with logical reasoning.
posted on 27 Jul 2021
I appeared for an interview in Feb 2021.
posted on 17 Jul 2023
I applied via Recruitment Consulltant and was interviewed before Jul 2022. There were 2 interview rounds.
let is mutable and can be reassigned, const is immutable and cannot be reassigned
let allows reassignment of values, const does not
const must be initialized with a value, let can be declared without a value
const is block-scoped, let is function-scoped
Closures are functions that have access to variables from their containing scope even after the parent function has finished executing.
Closures allow functions to maintain access to variables from their parent scope
They are created when a function is defined within another function
Closures are commonly used in event handlers and callbacks
typeof null returns 'object' in JavaScript.
typeof null is 'object' in JavaScript
This is a historical bug in JavaScript that has not been fixed for backward compatibility
Example: console.log(typeof null) will output 'object'
Finding palindrome strings in an array of strings.
Iterate through each string in the array.
For each string, check if it is equal to its reverse to determine if it is a palindrome.
Store palindrome strings in a separate array or print them out.
Debouncing is a technique used to limit the rate at which a function is called.
Debouncing is used to prevent multiple rapid calls to a function, typically in response to user input.
It involves setting a delay before allowing the function to be called again.
Example: Debouncing a search input field to only trigger the search function after the user has stopped typing for a certain period.
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
based on 1 interview
Interview experience
based on 5 reviews
Rating in categories
Business Development Associate
294
salaries
| ₹1 L/yr - ₹8.5 L/yr |
Public Speaking Trainer
224
salaries
| ₹1 L/yr - ₹8 L/yr |
Business Development Executive
215
salaries
| ₹1.8 L/yr - ₹8.8 L/yr |
Teacher
144
salaries
| ₹1 L/yr - ₹8 L/yr |
Business Development Manager
127
salaries
| ₹5 L/yr - ₹17 L/yr |
Whitehat jr
Unacademy
Extramarks Education
upGrad