LeetCode Question · Mar 2022 · Washington DC

SumoLogic | Machine Learning Engineer | Phone Screen

529 views 2 replies

Question Details

Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is being repeated exactly k times. Input : 2[b]3[cd] output : bbcdcdcd

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Ml Strings