OneTrust | Senior Software Engineer (frontend) | 5 years | Bangalore | India
- Location
- Bangalore, India
- Experience
- 5 years
- Posted
- 23 Sept 2026
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.
How it went
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.
Questions asked (3)
- 01
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. - 02
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). - 03
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.