Twilio Interview experience (L4)
Question Details
Hackerrank online assessment 2 questions (medium complexity) Time - 90 minutes Question - 1: https://leetcode.com/problems/smallest-string-with-swaps/description/ this question but with a different wording. Question - 2: Implement users token with TTL (time to live)....
Full Details
Hackerrank online assessment
2 questions (medium complexity) Time - 90 minutes
Question - 1: https://leetcode.com/problems/smallest-string-with-swaps/description/ this question but with a different wording.
Question - 2: Implement users token with TTL (time to live). You will be given list of queries. Queries can be of following type
\t1. generate
\t2. renew
\t3. count current_time
For count query you have to tell the number of tokens that are currently active.
Note - If a renew token count is issued at the same time when the token is expiring then the token will be marked as expired.
Will update it after next rounds.
About This Question
This is a reported interview question from a twilio interview for a swe role (mid level) during the oa round reported in 2024.
It covers the following topics: Sql, Strings .
Difficulty rating: Medium