Add office photos
Paytm logo
Engaged Employer

Paytm

Verified
3.3
based on 7.5k Reviews
Video summary
Filter interviews by
Front Office and Accounts Executive
Skills
Clear (1)

10+ Paytm Front Office and Accounts Executive Interview Questions and Answers

Updated 16 Jul 2024

Q1. Given the code to flat the array ex : Input - [2,3,[4,5,[6,7],8,9,[0]]] Output : [2,3,4,5,6,7,8,9,0]

Ans.

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.

View 2 more answers
right arrow

Q2. Write a code whose output should be 72 by making a call like this add(5,3).mul(9).calc();

Ans.

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

Add your answer
right arrow

Q3. write a code to convert an account number to asterisk ex: Input : PY12345 Output : PY***45

Ans.

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

Add your answer
right arrow

Q4. Create a dropdown(HTML Select tag) custom component in react.

Ans.

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

Add your answer
right arrow
Discover Paytm interview dos and don'ts from real experiences

Q5. Js Code/React component to create a folder and file structure

Ans.

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

Add your answer
right arrow

Q6. Write a js code to convert Roman to decimal number

Ans.

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

Add your answer
right arrow

Q7. Write a Polyfill for flat function

Ans.

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

Add your answer
right arrow

Q8. Create a Todo list component in react

Ans.

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

Add your answer
right arrow

Q9. make a counter and a to do app on the codesandbox platform.

Ans.

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

Add your answer
right arrow

Q10. Polyfill for promise.all()

Ans.

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

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Paytm Front Office and Accounts Executive

based on 1 interviews
Interview experience
4.0
Good
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Recently Viewed
INTERVIEWS
HGS
No Interviews
SALARIES
KPIT Technologies
SALARIES
KPIT Technologies
INTERVIEWS
Paytm
No Interviews
INTERVIEWS
Paytm
No Interviews
SALARIES
KPIT Technologies
SALARIES
KPIT Technologies
INTERVIEWS
Cipla
No Interviews
SALARIES
KPIT Technologies
SALARIES
KPIT Technologies
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter