i
Paytm
Filter interviews by
It was on hackerrank, its like OA, it has one problem solving question, 3-4 html-css mcq's and one react coding questuion.
Create a counter and a to do app on codesandbox platform
Create a counter component with buttons to increment and decrement the count
Implement a to do app with input field to add tasks and a list to display them
Use React or any other front-end framework/library for building the apps
I applied via Company Website and was interviewed in Feb 2022. There were 3 interview rounds.
I applied for the Frontend role and test consisted of JS and React questions
Flatten a nested array into a single-level array.
Use recursion to iterate through each element of the array.
If the element is an array, call the function recursively.
If the element is not an array, add it to the result array.
Polyfill for flat function
Create a function that takes an array and a depth as arguments
Use recursion to flatten the array to the specified depth
If depth is not specified, flatten the array completely
Return the flattened array
JS code to convert Roman to decimal number
Create a map of Roman numerals to their decimal values
Loop through the Roman numeral string from right to left
If the current numeral is less than the previous numeral, subtract it from the total
Otherwise, add it to the total
Return the total
Creating a custom dropdown component in React using HTML Select tag.
Create a new component and import React
Use the HTML Select tag to create the dropdown
Use the map function to loop through the array of strings and create the options
Add an onChange event to handle the selection and update the state
Pass the array of strings as props to the component
Creating a Todo list component in React
Create a new React component for the Todo list
Use state to store the list of tasks
Render the list of tasks using map()
Add a form to add new tasks to the list
Add a button to delete tasks from the list
Use Node.js fs module to create folder and file structure in React component
Require fs module in React component
Use fs.mkdirSync() method to create folder
Use fs.writeFileSync() method to create file
Use path.join() method to join folder and file paths
Handle errors using try-catch block
Code to output 72 by calling add(5,3).mul(9).calc()
Define a class with add, mul, and calc methods
add method should add two numbers and return the class instance
mul method should multiply the result with a number and return the class instance
calc method should return the final result
Call the methods in the given order to get the output 72
Polyfill for promise.all() is a code that adds support for promise.all() in older browsers.
Polyfill can be implemented using a combination of Promise and Array.prototype.reduce()
The polyfill should return a promise that resolves when all promises in the input array have resolved
If any promise in the input array rejects, the polyfill should reject with the reason of the first promise that rejected
Code to convert account number to asterisk
Create a function that takes in an account number as input
Use string slicing to replace characters with asterisks
Return the modified account number as output
Top trending discussions
I applied via Referral and was interviewed in Sep 2024. There was 1 interview round.
To center a div in CSS3, use the 'margin: auto;' property along with a set width.
Set the width of the div
Use 'margin: auto;' to center the div horizontally
Make sure the parent container has a defined width
call, bind, and apply are methods used to manipulate the context of a function in JavaScript.
call() is used to invoke a function with a specified 'this' value and arguments provided individually.
bind() is used to create a new function with a specified 'this' value and initial arguments.
apply() is used to invoke a function with a specified 'this' value and arguments provided as an array.
posted on 3 May 2024
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
Some of the top questions asked at the Paytm Front Office and Accounts Executive interview -
based on 1 interview
Interview experience
Team Lead
2k
salaries
| ₹2.2 L/yr - ₹11.4 L/yr |
Software Engineer
1.4k
salaries
| ₹6 L/yr - ₹23 L/yr |
Senior Software Engineer
1.4k
salaries
| ₹10 L/yr - ₹40 L/yr |
Sales Executive
946
salaries
| ₹1 L/yr - ₹6.4 L/yr |
Senior Associate
918
salaries
| ₹2.2 L/yr - ₹9 L/yr |
BharatPe
Zerodha
Razorpay
Mobikwik