OneTrust | Senior Software Engineer (frontend) | 5 years | Bangalore | India

onetrust logo
onetrust
· Senior Software Engineer (Frontend)· Bangalore, India· 5y exp
September 23, 2026 · 0 reads

Summary

I interviewed for a Senior Software Engineer (Frontend) role at OneTrust in Bangalore, India. The second round covered JavaScript, Angular, coding problems, and system design.

Full Experience

OneTrust | Senior Software Engineer (Frontend) | Round 2

Experience - 5 years Topics: Coding standards, Javascript, Angular Interviewer - Senior staff engineer

Javascript -

  • Event loop
  • Promise vs observables with coding
  • debounce in javascript
  • closure coding snippet

Angular -

  • Async vs observable
  • Angular performance improvisation
  • Security of the application

Coding -

  • Find kth largest element
  • Delete duplicate value key from an object - Input={a: 1, b: 2, c: 3, d: 1} Output={a:1,b2:,c:3}

System Design -

  • Caching techniques for heavy data dashboard. Follow-up question were asked regarding my choices for a particular strategy.

Interview Questions (3)

1.

Find Kth Largest Element

Data Structures & Algorithms

Given an unsorted array of numbers and an integer k, find the kth largest element in the array.

2.

Delete Duplicate Value Keys from an Object

Data Structures & Algorithms

Given a JavaScript object with key‑value pairs, remove keys that have duplicate values. Example:

Input: {a: 1, b: 2, c: 3, d: 1}

Output: {a: 1, b: 2, c: 3} (or any representation that retains only one key per unique value).

3.

Caching Techniques for Heavy Data Dashboard

System Design

Design a caching strategy for a dashboard that displays large volumes of data. Discuss which caching mechanisms you would use, how to invalidate or update the cache, and trade‑offs of your chosen approach.

📣 Found this helpful? Please share it with friends who are preparing for interviews!

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!