onetrust logo
Onetrust· Senior Software Engineer (Frontend)

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

Location
Bangalore, India
Experience
5 years
Posted
23 Sept 2026
79 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.

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)

  1. 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.

  2. 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).

  3. 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.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Onetrust recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

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