Add Dramatic Punctuation to Text

Read the full interview experience this question came from →

Quick Overview

Transform text by replacing periods inside each non-whitespace token and adding the required dramatic suffix while preserving every whitespace character. Handle empty or whitespace-only input, existing punctuation, repeated spaces, tabs, newlines, million-character strings, and streaming extensions.

Add Dramatic Punctuation to Text

Company: Upstart

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Online Assessment

Overview: Transform text by replacing periods inside each non-whitespace token and adding the required dramatic suffix while preserving every whitespace character. Handle empty or whitespace-only input, existing punctuation, repeated spaces, tabs, newlines, million-character strings, and streaming extensions.

Read the full Upstart Software Engineer interview experience this question came from

|Home/Coding & Algorithms/Upstart
Upstart logo
Upstart
Jul 27, 2026
mediumSoftware EngineerOnline AssessmentCoding & Algorithms
7
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...