TikTok | Site Reliability Engineer (Mid Level) | Coding | Technical Coding Round
Interview date
May 14, 2026
Company
TikTok
Role
Site Reliability Engineer
Level
Mid Level
Region
NA (North America)
Round type
Coding
Team/Org
USDS Infrastructure
Stage
Technical Coding Round
You are given an integer array nums containing positive integers. We define a function encrypt such that encrypt(x) replaces every digit in x with the largest digit in x. For example, encrypt(523) = 555 and encrypt(213) = 333. Return the sum of encrypted elements. Example 1: Input: nums = [1,2,3] Output: 6 Explanation: The encrypted elements are [1,2,3]. The sum of encrypted elements is 1 + 2 + 3 == 6. Example 2: Inp...
Sign in to view the full interview experience
Create or use your InterviewDB account to read the full Warren post and all shared details.
Sign in to continue