Question Details
Problem Given an array of strings words, build a "character cascade": for each position i (0-indexed), collect the character at index i from every string that has length > i. Concatenate these characters top-to-bottom to form column strings, then return the column strings joined by spaces. Example: Follow-up variant: Return each column reversed. Follow-ups What is the time and space complexity in terms of total characters across all words? Extend: given a target string t, find which column conta…
Full Details
🔒
Unlock all Codesignal questions
Full insider details, leaked discussions, and candidate experiences.
or every company, $100/year →About This Question
This is a reported interview question from a codesignal interview.
It covers the following topics: Coding, General Coding Assessment, Q2, Arrays, Strings .
More Codesignal Interview Questions
InterviewDB
AI-Assisted Code Review Assessment - Coding Interview
InterviewDB
Array Mutation Operations - Coding Interview
InterviewDB
Array Triplets with Pythagorean Property - Coding Interview
InterviewDB
Banking System Simulation - Industry Coding Framework Interview
InterviewDB
Bubble Popping Game Simulation - Coding Interview