String Interview Questions
467 interview questions in our bank cover String, most of them Coding Questions. They average 2.8/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about String: Amazon, Google, Meta, Capital One, Upstart, and 15 more.
Practice these on the problems board →Companies that ask about String
Question mix
- Coding Questions466
- ML Fundamentals & Algorithms1
Difficulty
- 1/5 — warm-up11
- 2/5 — easy137
- 3/5 — medium261
- 4/5 — hard58
String questions at Amazon
Regex Matching With Grouped Stars
4/5This Amazon interview puzzle requires you to build a custom pattern matching engine that extends traditional wildcard rules to support repeated multi-character blocks. You must parse specialized expressions containing grouped sequences and repetition tokens to validate text integrity efficiently. The evaluation focuses on your ability to handle complex state transitions, string parsing, and recursive or dynamic programming approaches. Unlocking the full problem guidelines, edge cases, and the comprehensive model solution requires a subscription.
Coding QuestionsAmazonLongest Valid Parentheses Span
4/5Master sequence manipulation and index tracking with this intriguing interview challenge frequently featured by Amazon. Candidates are tasked with evaluating sequences of bracket characters to locate the most expansive valid section and calculating its span based on boundary positions. This exercise evaluates your ability to optimize linear scans and maintain state efficiently using stacks or dynamic programming techniques. To access the complete problem statement, optimal algorithms, and thoroughly explained model code, unlock the full guide with a subscription.
Coding QuestionsAmazonSplit Into Two Near-Palindromes
3/5Encountered during an Amazon interview, this challenge tests string manipulation and algorithmic thinking by asking you to determine if a genetic sequence can be split into two parts that each closely resemble a palindrome after minimal character removal. You will need to apply efficient substring validation techniques and character frequency checks to solve the puzzle within optimal time limits. The complete problem statement, detailed constraints, and comprehensive solution require an active subscription to view.
Coding QuestionsAmazonCan Rearrange a Binary String Into a Pattern
4/5This intriguing algorithmic challenge, reported in interviews at Amazon, evaluates your capability to manipulate binary sequences and match them against wildcard templates through valid sorting transformations. You will need to determine whether specific structural arrangements can be achieved by selectively organizing bits. Successfully tackling this problem tests your mastery of frequency counting and pattern recognition within strings. Access to the complete problem breakdown and optimal model solution requires a subscription.
Coding QuestionsAmazonCount Special Substrings in a DNA Sequence
3/5In this coding task frequently asked at Amazon, you are tasked with identifying and tallying particular patterns within a textual string sequence based on specific length and character uniformity rules. The exercise evaluates your string manipulation techniques, ability to handle edge cases, and efficiency in scanning sequential data for matching criteria. You will need to design an algorithm that parses the sequence cleanly without missing overlapping or nested patterns. Access the full problem description and comprehensive model solution by upgrading your account.
Coding QuestionsAmazonLongest Substring Matching a One-Wildcard Regex
3/5In this Amazon coding challenge, you are tasked with finding the longest subsegment of a string that satisfies a wildcard pattern containing a single variable-length matching symbol. The exercise evaluates your pattern matching intuition and string scanning optimization strategies. Unlock the complete problem guidelines and a thoroughly explained model solution with a subscription.
Coding QuestionsAmazonCaesar Cipher with Case Preservation
2/5A string-processing question on a classic letter-shifting cipher that keeps capitalisation, leaves other symbols alone, and has to cope with reverse and oversized offsets. A follow-up asks for a version that stays fast on very large text.
Coding QuestionsAmazonReorganize String
3/5String rearrangement puzzles are staples of technical screenings, frequently appearing in Amazon interview loops to test string manipulation and greedy strategies. The objective is to reorder characters such that identical elements never sit adjacent to one another, determining feasibility or producing a valid permutation. This problem evaluates frequency analysis, priority queue usage, and edge-case management. Unlock the full problem text, architectural insights, and model solution by upgrading to a paid subscription.
Coding QuestionsAmazonMinimum Time Until Password Is Irrecoverable
4/5This advanced Amazon interview question simulates a security breach where characters in a string are progressively corrupted based on a given permutation sequence. The challenge evaluates your ability to efficiently track substring states and compute the exact moment a threshold of compromised segments is crossed. The complete problem statement, optimal algorithmic approach, and model solution are available with a subscription.
Coding QuestionsAmazonInteger to Roman Numeral
2/5This classic numerical conversion exercise, commonly featured in Amazon coding interviews, requires you to translate standard Arabic integers into their traditional Roman numeral counterparts. You will need to implement a robust mapping strategy that correctly handles subtractive notations and value groupings across various decimal places. This problem is an excellent test of your arithmetic logic and iterative reduction skills. The full problem statement and clean code implementation are available exclusively to subscribers.
Coding QuestionsAmazonCount Compatible Substrings
4/5Determine the quantity of specific text segments that can be perfectly partitioned into consecutive anagrams of a provided collection of target items. Sourced from Amazon technical assessments, this intricate string-processing challenge examines your mastery of sliding windows, frequency matching, and combinatorial pattern recognition. Read the complete problem breakdown, complexity analysis, and optimal solution by subscribing today.
Coding QuestionsAmazonSmallest Message by One Substring Rotation
3/5This Amazon assessment task asks you to evaluate text transformation by shifting a single chosen segment circularly to produce the most lexicographically advanced outcome. The puzzle assesses string manipulation skills and strategic segment selection to optimize alphabetical ordering under tight constraints. Access to the comprehensive problem breakdown, underlying algorithmic insights, and clean code solution requires a paid subscription.
Coding QuestionsAmazonDNA Similarity via Longest Common Subsequence
3/5This Amazon interview question challenges you to measure the genetic similarity between two biological strings by determining their longest common subsequence. The task requires a dynamic programming approach to efficiently compare sequence alignments and compute the optimal overlap length. Practicing this problem helps strengthen your grasp of classical sequence matching algorithms frequently encountered in technical screenings. Unlock the full problem description, complexity analysis, and working solution with a subscription.
Coding QuestionsAmazonLongest Distinct-Character Bracket Prototype
2/5This reported Amazon interview question challenges you to process a collection of text strings and extract a specialized signature based on unique letters. You will need to evaluate character variety while implementing custom tie-breaking logic to select the most optimal pattern. The challenge assesses your string manipulation skills, frequency tracking, and sorting efficiency. Access to the full problem description, edge cases, and complete optimal solution requires an active subscription.
Coding QuestionsAmazonMinimum Adjacent Swaps to Make a Palindrome
4/5Posed during Amazon coding interviews, this challenge requires you to compute the minimum number of adjacent character movements necessary to transform a given string into a palindrome, or determine if it is impossible. You will need to analyze character frequencies and apply greedy strategies or two-pointer techniques to minimize rearrangement steps. This problem assesses your string processing and algorithmic optimization capabilities. Unlock the complete question details and professional solution code with a subscription.
Coding QuestionsAmazonDelete Columns to Make Sorted
2/5Presented as a practical interview scenario at Amazon, this problem requires you to analyze a grid of equally sized text sequences and determine the fewest vertical tracks that must be eliminated to guarantee non-decreasing order from top to bottom. You will need to inspect individual columns systematically and apply straightforward criteria to filter out violations. It is an excellent exercise for testing basic matrix traversal and conditional counting logic. The full problem and model solution require a subscription.
Coding QuestionsAmazonLongest Self-Contained Proper Substring
3/5This string manipulation challenge, encountered in Amazon technical rounds, asks you to locate the longest proper substring whose constituent characters appear nowhere else in the parent text. It tests your ability to precompute frequency bounds and efficiently scan sequence intervals for isolation properties. To view the full problem breakdown and clean model implementation, unlock a paid subscription.
Coding QuestionsAmazonMinimum Moves to Reverse a Binary String
3/5Explore a string manipulation puzzle featured in Amazon interviews, requiring you to find the fewest rearrangement steps needed to transform a binary sequence into its own reverse using character relocation. The task evaluates your pattern recognition skills and ability to compute transformation distances efficiently under constraints. It tests deep string processing logic and optimal sequence planning. Access the complete problem description, explanations, and model solution by upgrading to a paid subscription.
Coding QuestionsAmazonSimplified Logistics Problem
2/5Take a route written as a string of node letters with stray gaps in it and return the same route with the gaps removed. This Amazon warm-up takes one line to solve and still gets asked, because it checks that you can read a specification and handle an input that is entirely gaps or entirely empty. You will decide whether any character other than a space counts as a node, and keep the original ordering intact. The complete problem and the reference solution are available with a subscription.
Coding QuestionsAmazonMaximum Times a Word Can Be Removed
3/5In this Amazon interview question, you are given a text string and a specific target substring, and your goal is to find the maximum number of times the target can be extracted through repeated removals. Because removing segments can cause adjacent parts to merge and form new instances of the target, you must simulate or compute the optimal elimination sequence. This challenge tests string manipulation, recursion, and greedy parsing techniques. Unlock the complete problem details and solution with a subscription.
Coding QuestionsAmazonLexicographically Largest Generated Array
3/5Examine a sophisticated sequence generation puzzle reported from Amazon coding assessments that tests advanced algorithmic thinking and dynamic state management. The challenge requires constructing the lexicographically largest possible output array through constrained element selection and state-dependent propagation rules over multiple rounds. It evaluates a candidate's ability to optimize greedy choices while handling cascading dependencies. The complete problem breakdown and verified model solution require a subscription.
Coding QuestionsAmazonRemove Anagram Duplicates
2/5In this engaging string manipulation challenge reported from Amazon interviews, you are tasked with processing a collection of words to filter out redundant items that share identical character frequencies with any preceding entry, followed by sorting the remainder. This problem tests your ability to utilize hash maps or canonical representations for detecting structural equivalence among text elements. Candidates will learn how to streamline collection cleaning operations effectively. Unlock the full problem details and complete model code by subscribing today.
Coding QuestionsAmazonRepeat Customers Across Days
2/5This Amazon coding question requires you to analyze timestamped activity records to identify loyal users who return across multiple distinct calendar days. You will need to parse date-time strings, aggregate user visits, and produce a cleanly sorted output of recurring participants. This exercise tests fundamental string manipulation, data grouping, and basic collection handling. The complete problem text and reference implementation require a subscription.
Coding QuestionsAmazonReal Names With Multiple Registrations
3/5This Amazon technical screening task requires processing a collection of identity records to identify entities with multiple distinct registrations. Candidates must write an algorithm that recognizes anagram variations of canonical names and filters out recurring entries according to specific criteria. This exercise tests hash map utilization, string normalization, and frequency counting techniques. Access to the full problem context, sample datasets, and verified code solution requires a paid subscription.
Coding QuestionsAmazonLongest Substring With First Char Smaller Than Last
3/5In this classic Amazon interview puzzle, you are tasked with identifying the length of the longest contiguous segment within a string where the initial character comes strictly before the terminal character alphabetically. This exercise tests your string manipulation skills, boundary checking, and optimization logic to bypass naive quadratic approaches. Access the complete problem description and expert model implementation by grabbing a subscription today.
Coding QuestionsAmazonValid Parentheses String
1/5Practice a fundamental string validation exercise commonly utilized in Amazon technical screenings to test basic parsing and stack-based logic. Candidates must write a robust algorithm to verify whether grouping symbols within a given text are correctly ordered and paired. The challenge emphasizes clean code, edge-case management, and optimal linear-time performance. Access to the comprehensive problem analysis and fully tested reference implementation requires a subscription.
Coding QuestionsAmazonF-Match Score Between Usernames
3/5This algorithmic puzzle, commonly encountered in software engineering interviews at Amazon, asks you to analyze two text sequences using a specialized stride parameter. The objective is to discover how many evenly spaced intervals within the primary text form valid anagrams of the secondary text. This task examines your string manipulation skills, pattern matching intuition, and optimization strategies for handling overlapping segments. Unlock the full problem details and expert-crafted solution by purchasing a subscription.
Coding QuestionsAmazonLongest Happy String
3/5This engaging coding puzzle, frequently featured in Amazon technical screens, requires you to assemble the longest possible character sequence using specified frequencies of three distinct letters without forming any triple consecutive identical characters. The problem tests your greedy algorithm design capabilities and your ability to manage state constraints dynamically while prioritizing high-frequency elements. Finding the optimal construction strategy demands careful pointer and counter manipulation. Unlock the full question details and optimal solution by subscribing today.
Coding QuestionsAmazonZigzag String Conversion
3/5Featured in Amazon technical interviews, this string manipulation puzzle requires you to rearrange characters of a given text into a diagonal meandering pattern across a specified number of rows and then reconstruct it sequentially. It tests your ability to navigate multi-dimensional indices, manage directional state transitions, and handle boundary conditions efficiently without excessive memory overhead. Unlock the complete analytical write-up, optimal runtime strategies, and reference solution by subscribing today.
Coding QuestionsAmazonCount Redundant Substrings
3/5This Amazon coding challenge requires candidates to analyze a text string and identify specific substrings that satisfy a mathematical relationship based on vowel and consonant counts combined with given scaling factors. The task involves examining all possible segments within the input and counting those that meet the criteria efficiently. It tests string manipulation proficiency, sliding window techniques, and arithmetic optimization to handle large inputs within performance limits. Unlocking the complete problem specification, detailed constraints, and optimal solution requires a paid subscription.
Coding QuestionsAmazonLongest Run of Healthy Servers After One Fixed-Length Repair
3/5A coding question on a log of working and broken machines in a row, where one repair of a fixed length can be applied or skipped. The task is to find the longest unbroken stretch that can be achieved.
Coding QuestionsAmazonTop K Visited Domains
3/5This popular Amazon interview problem evaluates your ability to process and aggregate hierarchical string data efficiently. You are tasked with analyzing a collection of hostname logs against a specific target list to compute total frequencies, accounting for subdomain relationships. The challenge tests string manipulation and hash map aggregation techniques to extract and sort the most prominent entries. Access to the complete problem description, optimal algorithmic approach, and verified code solution requires a paid subscription.
Coding QuestionsAmazonMaximize Tandem Repeat With Wildcards
3/5This algorithmic challenge, frequently featured in Amazon interviews, centers on string manipulation and pattern optimization with ambiguous characters. Candidates must strategically replace wildcard symbols to create the longest possible repetitive sequence where the first half matches the second half. The exercise tests advanced string processing techniques, dynamic programming, or sliding window strategies to handle flexible pattern matching efficiently. To view the full problem description, test cases, and optimal implementation, a subscription is required.
Coding QuestionsAmazonReverse Each Word in a String
1/5This foundational string-processing exercise, commonly encountered in Amazon technical screens, tests your ability to manipulate text while preserving overall structure. You are asked to invert the characters of individual words in a sentence without altering their original sequence. It evaluates your attention to detail regarding whitespace handling and index manipulation in strings. The complete problem statement along with the efficient reference solution can be unlocked with a subscription.
Coding QuestionsAmazonCount Substrings Similar to a Keyword
3/5This frequently encountered Amazon coding challenge requires scanning a text string to find how many fixed-length segments closely match a target pattern, allowing for minor adjustments like adjacent character swaps. It tests your ability to efficiently manage sliding windows and string transformations while optimizing performance. Unlocking the complete problem description, edge cases, and an optimized model solution requires a subscription.
Coding QuestionsAmazonMinimum Deletions to Empty a String
4/5This interview challenge reported at Amazon evaluates your ability to process sequential string data efficiently by finding the fewest steps needed to clear out matching consecutive characters. Candidates must design an optimized algorithm that handles substring reductions and tests advanced string manipulation skills under tight performance constraints. Access to the complete problem breakdown and expert model solution requires a subscription.
Coding QuestionsAmazonLongest Perfect-Anagram Substring Pair
3/5This Amazon interview question challenges you to locate the longest pair of non-identical substrings within a given text that share identical character frequencies. It evaluates string manipulation expertise, sliding window techniques, and efficient hashing or frequency-counting strategies. The complete problem text, test cases, and model solution require a subscription.
Coding QuestionsAmazonIP CIDR Firewall Filtering
3/5Master the logic behind sequential network access control by building an IP CIDR firewall filtering mechanism. Reported as an interview task at Amazon, this challenge tests your ability to parse address blocks, evaluate hierarchical rules in strict order, and handle allow-versus-deny precedence efficiently. You will need to design an algorithm capable of rapidly determining whether an arbitrary Internet Protocol address satisfies a complex list of range-based security policies. Unlock the full problem statement and expert-crafted reference solution by securing a subscription.
Coding QuestionsAmazonLongest Self-Sufficient Substring
4/5A string coding question: find the longest piece of a string, short of the whole string, that can be cut out so none of its letters remain anywhere else. It checks a precise reading of the definition and the cases where no such piece exists.
Coding QuestionsAmazonMaximum Trim Keeping the Same Type
3/5Tackle this engaging string manipulation challenge featured in Amazon technical screenings, which tests your ability to optimize character sequences while preserving structural properties. You must determine the maximum extent to which a sequence can be trimmed from both ends while maintaining its original boundary classification. This problem evaluates your proficiency with pointer movement strategies, boundary tracking, and greedy reduction techniques to achieve optimal performance. To view the comprehensive breakdown and fully tested solution code, a subscription is required.
Coding QuestionsAmazonDomain Score Accumulation (Reverse Trie)
3/5This advanced algorithmic problem, reported from an Amazon coding interview, explores hierarchical data aggregation using specialized tree structures. Candidates are challenged to process hostname hierarchies where individual segments carry positive or negative numerical values that accumulate from root to leaf. The task tests your ability to construct reverse-keyed lookup trees and perform efficient backtracking traversals to compute cumulative scores. Mastering this concept improves your skills in handling nested string spaces and hierarchical scoring systems. Unlock the full challenge details and verified code solution with a paid subscription.
Coding QuestionsAmazonReplace Delimited Tokens in a String
2/5Text manipulation and pattern substitution are frequent tasks in template rendering and configuration management engines. In this Amazon interview question, you must parse a text stream for specific delimited tokens and substitute them using a predefined dictionary while leaving unrecognized patterns untouched. The challenge examines your string manipulation skills, boundary checking, and efficiency in handling arbitrary inputs. Unlock the full problem details and complete model implementation by subscribing today.
Coding QuestionsAmazonCustomers Who Visited on Multiple Days
2/5Analyze sequential activity logs to isolate and extract frequent visitors based on distinct calendar appearances. Originally featured in Amazon technical rounds, this coding challenge examines your data aggregation skills, hash map utilization, and capability to preserve chronological ordering of unique events. It requires designing an efficient routine that scans historical records and identifies individuals who return across multiple distinct days. Upgrade your account today to view the full problem specification and optimal programmatic solution.
Coding QuestionsAmazonMinimum Redundancy-Free Segments
2/5In this Amazon interview question, you are tasked with analyzing a given string to determine the fewest possible contiguous sections it can be divided into. Each of these sections must adhere to a specific rule: all characters within it must be unique. This problem evaluates your ability to segment data efficiently while satisfying a distinctness constraint, often involving greedy strategies or character tracking. The full problem and model solution require a subscription.
Coding QuestionsAmazonCount Subsequences Greater Than a String
4/5String manipulation and combinatorial counting form the core of this challenging problem, which has been featured in technical assessments at Amazon. The task requires developers to analyze textual data and efficiently compute how many unique subsequences surpass a given reference string in alphabetical order, keeping track of modulo arithmetic for large outputs. This scenario tests advanced dynamic programming and lexicographical comparison skills. Unlock the full problem description and comprehensive model implementation by subscribing today.
Coding QuestionsAmazonCount Special Binary Substrings
3/5This interview question, reported from Amazon hiring rounds, challenges candidates to analyze a binary sequence and identify all segments meeting a strict numerical balance rule between zeros and ones. Specifically, you must count every contiguous section where the quantity of zero characters matches the square of the count of one characters. The exercise tests string traversal strategies, optimization techniques, and efficient substring evaluation. Discover the complete problem breakdown and optimal model solution by getting a subscription.
Coding QuestionsAmazonDays S2 Remains a Subsequence of S1
4/5Evaluate your proficiency in advanced string manipulation and simulation techniques with this challenging problem reported at Amazon. The task requires you to determine how long a secondary string remains a valid subsequence of a primary string as sequential deletions accumulate over time. Success depends on formulating an efficient strategy to process dynamic updates without prohibitive recomputation. Access to the full problem text and optimal solution requires a subscription.
Coding QuestionsAmazonCount Unique Strings After One Reversal
3/5In this intriguing string-manipulation problem reported by Amazon, you must determine how many distinct words can be generated by reversing a single continuous segment within a given text. The exercise tests your string processing skills, hashing techniques, and ability to handle overlapping palindromic patterns efficiently. You will need to carefully analyze substring boundaries to avoid overcounting duplicate configurations. Reviewing the full problem description and the optimized reference solution requires a paid subscription.
Coding QuestionsAmazonMinimum Cost Over 0/1/! Subsequence Assignments
4/5A coding question about filling in wildcard characters of a binary string so that a weighted count of ordered pairs is as small as possible. It tests careful reasoning about how each choice changes later costs.
Coding QuestionsAmazonRepeated Substring Pattern
2/5Analyze this string manipulation puzzle frequently encountered in Amazon interview loops. The challenge evaluates your ability to recognize repetitive structural patterns and leverage string-matching algorithms to determine if a sequence is composed of recurring segments. Developing an efficient detector requires understanding advanced string properties rather than brute-force comparisons. Get full access to the complete problem specifications and model code implementation by subscribing today.
Coding QuestionsAmazonLexicographically Smallest Palindrome
3/5In this problem frequently reported by Amazon, candidates are challenged to construct the earliest possible alphabetical palindrome using a collection of letter tokens. The exercise evaluates your ability to manage character frequencies and apply greedy string-building strategies efficiently. To succeed, you must carefully balance elements while handling parity rules for central characters. Access to the complete problem description and an optimized model solution requires a subscription.
Coding QuestionsAmazonFirst Unique Character Index
2/5Reported as an Amazon interview question, this task challenges you to locate the very first character in a string that does not repeat throughout the text. It evaluates your efficiency in frequency tabulation and single-pass or multi-pass string scanning to return the correct position index. The full problem description and clean implementation require a subscription.
Coding QuestionsAmazonMinimum Flips to a Good Binary String
3/5Reported as an interview question at Amazon, this challenge requires you to transform a binary sequence by modifying the fewest elements possible. A valid sequence must avoid specific forbidden three-character patterns appearing anywhere within the data. The puzzle tests your mastery of dynamic programming and state transition logic to track configuration changes over time. To access the comprehensive question breakdown and the optimal coding solution, a subscription is required.
Coding QuestionsAmazonMinimum Weighted Errors From Wildcards
3/5Discover how to optimize string configurations containing ambiguous wildcard characters to minimize specific pattern penalties, a sophisticated algorithmic challenge reported during software engineering interviews at Amazon. This puzzle tests your mastery of dynamic programming and combinatorial optimization under specific cost constraints. You will learn to evaluate state transitions and modular arithmetic to achieve the lowest possible penalty score. Gain immediate access to the full problem description and expert model solution with a subscription.
Coding QuestionsAmazonSimplified Autocomplete System
2/5This classic Amazon coding challenge asks applicants to build a lightweight prefix-matching search widget. The task involves designing a data structure that efficiently inserts incoming vocabulary entries and retrieves matching subsets in chronological order upon query. This problem examines proficiency with tree structures, string manipulation, and time complexity optimization in search engines. The complete problem description, test cases, and optimal code implementation are available exclusively with a paid subscription.
Coding QuestionsAmazonCheck If Two Strings Are Anagrams
1/5Strengthen your foundational string manipulation skills with this classic interview question reported at Amazon. The task requires you to evaluate whether two distinct textual inputs share identical character frequencies regardless of their arrangement. This exercise tests your ability to optimize frequency counting using appropriate data structures for optimal time complexity. Unlock the complete problem statement and clean code implementation by upgrading to a paid subscription.
Coding QuestionsAmazonCount Substrings Greater Than a Password
3/5This Amazon interview question challenges candidates to efficiently compare text sequences and count specific segments that meet strict alphabetical ordering criteria. Tackling this problem effectively requires advanced string manipulation techniques and optimized counting strategies to handle large data sets while avoiding performance bottlenecks. You will need to implement a modular arithmetic approach to manage potentially large numerical results. Access to the complete problem breakdown and fully tested solution requires a subscription.
Coding QuestionsAmazonMorse Code Without Separators: Encode and List All Decodings
4/5A coding question on Morse code written without separators between letters. You encode words, group words that share the same dot-and-dash pattern, and list every sequence of dictionary words that a given Morse string could stand for.
Coding QuestionsAmazonMaximum MaximaCount Among Categories
3/5Challenge your algorithmic thinking with this string analysis puzzle reported during Amazon interviews. The problem requires evaluating character frequencies across sequential string prefixes to determine the highest occurrence count where a specific element dominates its prefix. This tests your proficiency in optimized frequency tracking, prefix computations, and sliding window paradigms. To view the complete problem statement and the optimal model implementation, subscribe to gain full access.
Coding QuestionsAmazonMaximum Distance Between an Open and Close Parenthesis
2/5Sharpen your sequence manipulation skills with this classic interview challenge reported by candidates interviewing at Amazon. The objective is to analyze a mixed string of grouping symbols and efficiently determine the maximum separation between a valid opening token and a subsequent closing token. This task tests your proficiency with linear scanning and index tracking for optimal performance. Unlock the full problem details and a thoroughly explained solution by purchasing a subscription.
Coding QuestionsAmazonCount the Most Vowel-Rich Strings
2/5This Amazon coding challenge asks you to analyze a collection of text strings and determine how many items tie for having the highest count of vowels. You must design an efficient counting mechanism that scans each term, isolates specific vowel characters, tracks the maximum frequency found, and tallies the total occurrences of that peak value. It serves as a great exercise for string iteration, conditional aggregation, and basic frequency tracking. Discover the complete problem details and clean model solution with a subscription.
Coding QuestionsAmazonK-Repetitiveness Feature Value
3/5Featured as a technical assessment challenge at Amazon, this problem asks you to evaluate the recurrence frequency of elements within a user activity log. Specifically, your goal is to count how many segments contain at least a specified threshold of identical symbols. This exercise tests your efficiency in handling substring enumeration and sliding window data management techniques. Master this concept and review the optimal implementation by acquiring a full subscription.
Coding QuestionsAmazonMaximum Salary With One Office Change
3/5Calculate the highest possible cumulative payout from a sequence of daily work assignments governed by tiered workplace values and strict precedence rules. Featured as a coding interview puzzle at Amazon, this challenge tests your ability to simulate conditional state changes and evaluate the impact of modifying a single element within a sequential structure to maximize your total score. You will need to design an intelligent strategy that weighs opportunity costs against priority hierarchies across the schedule. The full problem description and precise model solution are available exclusively to subscribers.
Coding QuestionsAmazonPrefix Maximum Equal-Frequency Block Count
3/5In this interesting string manipulation challenge reported from an Amazon interview, you are tasked with analyzing text prefixes to determine the maximum subdivision capability into identical frequency segments. This problem tests your efficiency in tracking character distributions and mathematical divisors dynamically across growing sequences. Review the complete problem breakdown, optimization strategies, and the comprehensive model solution by purchasing a subscription.
Coding QuestionsAmazonCheck Similar Passwords via Cyclic Increment
3/5Reported as an Amazon interview question, this puzzle asks you to determine whether one credential can be transformed into another by selectively applying cyclic alphabet shifts and matching subsequence criteria. It evaluates your proficiency with string manipulation, pointer techniques, and pattern matching under modified equivalence rules. Unlock the complete problem guide and expert solution by purchasing a subscription.
Coding QuestionsAmazonCount Balanced-Character Even Substrings
3/5This Amazon coding challenge requires you to analyze text sequences to identify specific segments based on frequency and length criteria. You must efficiently count portions of a string where a single character appears with a precise proportional frequency relative to an even-sized boundary. The task evaluates your string processing skills and algorithmic optimization to avoid brute-force scanning. The full problem and model solution require a subscription.
Coding QuestionsAmazonLexicographically Minimal String via Remove-and-Reinsert Increment
4/5A string-optimisation puzzle where each edit raises a digit by one and lets you reposition it anywhere. The task is to decide which digits are better left alone and produce the smallest possible digit sequence for inputs up to 200,000 characters.
Coding QuestionsAmazonMax Equal-Frequency Block Split Per Prefix
4/5A coding question on strings: for every prefix, report how many equal-length pieces it can be cut into when all pieces must hold the same letters in the same amounts. Inputs reach a hundred thousand characters, so the whole list of answers has to come back quickly.
Coding QuestionsAmazonSort Strings by Custom Alphabet
2/5This frequently asked Amazon interview question challenges you to organize an array of text identifiers based on a non-standard alphabetical sequence instead of traditional lexicographical ordering. Candidates will need to apply custom mapping techniques to evaluate relative character weights efficiently. This task evaluates your familiarity with comparator logic and data manipulation fundamentals. The complete problem statement and model solution require a subscription.
Coding QuestionsAmazonValidate and Order Barcode Configurations
3/5This reported Amazon interview challenge tests your string parsing and data validation abilities by requiring you to process a segmented layout string. You must verify that numerical position markers follow a strict consecutive sequence without missing digits and ensure the accompanying alphanumeric elements meet specific criteria. Successfully passing this hurdle means organizing the verified data into the correct sequence, while failing requires catching anomalies and outputting a standard error message. Access the complete problem description and expert code solution with a subscription.
Coding QuestionsAmazonLongest Prefix Shared by Two Words
2/5String manipulation and pattern matching are fundamental concepts in technical assessments, frequently featured in evaluations like this reported Amazon interview question. The objective is to analyze a collection of textual entries and determine the longest shared starting sequence that appears across at least two distinct items. This exercise is designed to test your efficiency in handling character arrays and optimizing search boundaries. To view the full problem statement and optimized code solution, a subscription is required.
Coding QuestionsAmazonMinimum Moves to Reverse a Binary String
3/5This intriguing Amazon interview puzzle challenges engineers to compute the fewest positional modifications needed to transform a binary sequence into its exact reverse counterpart using targeted character relocations. The core of the evaluation tests your ability to identify underlying sequence patterns and manipulate string indices efficiently without resorting to brute-force simulation. Designing an optimal linear or near-linear time solution requires sharp analytical skills and pattern recognition. Gain immediate access to the full problem text, architectural breakdown, and complete code solution with a subscription.
Coding QuestionsAmazonCount Matching D-Length Substrings
3/5This Amazon interview question challenges you to analyze two text sequences and quantify how many fixed-length segments from the first text can be found anywhere within the second text. It tests your string manipulation skills, sliding window patterns, and hashing strategies required to optimize substring comparisons. Developing an optimal solution involves avoiding redundant checks to maintain strong performance under tight time constraints. To review the complete problem details and clean code solution, a subscription is required.
Coding QuestionsAmazonMatch Strings With a Single Wildcard
2/5This Amazon interview task evaluates your ability to determine whether text strings conform to specific patterns containing a single versatile wildcard character capable of representing any arbitrary character sequence. It tests your understanding of pattern matching fundamentals, string parsing, and boundary condition handling for prefix and suffix alignments. Crafting a performant solution requires breaking down the text around the wildcard instead of relying on heavy regex engines. The full problem context and optimal code solution require a subscription.
Coding QuestionsAmazonDecode Morse With Word Separator — All Decodings
3/5This intricate parsing problem, documented in software engineering interviews at Amazon, involves translating a continuous sequence of dot and dash signals into valid textual sentences using a provided dictionary and designated word delimiters. Because individual segments lack internal character boundaries, multiple interpretations are often possible, requiring you to generate and sort every uniquely decodable message. The task evaluates advanced string manipulation, recursion, and backtracking strategies to handle combinatorial explosion. Unlock the full problem context and an optimal model solution with a subscription.
Coding QuestionsAmazonCount Unique Morse Code Translations
2/5This interview question, frequently reported at Amazon, challenges candidates to process a collection of text strings and determine how many unique representations they produce when converted into dot-dash sequences. The exercise evaluates your ability to use hash-based data structures to filter duplicates efficiently while manipulating string collections. It tests fundamental parsing and set operations in a straightforward algorithmic scenario. Access to the comprehensive problem description and optimal algorithmic solution requires a subscription.
Coding QuestionsAmazonRegular Expression Matching
4/5Tackle a legendary string processing interview question commonly asked at Amazon, where you must determine if a text string matches a pattern containing wildcard symbols and repetition operators. This problem evaluates your command of dynamic programming and recursive state evaluation to handle ambiguous matching rules efficiently. Successfully solving it requires careful edge-case handling for zero-or-more occurrences and single-character placeholders. The comprehensive problem walkthrough and expert solution are available exclusively to subscribers.
Coding QuestionsAmazonNext Smallest Special String
4/5Featured in Amazon technical interviews, this string transformation puzzle challenges you to find the lexicographically smallest special string that is strictly greater than a given input, ensuring no adjacent characters are identical. Candidates must carefully navigate alphabetical increments while preserving the uniqueness constraint across neighboring positions. It is a rigorous test of greedy algorithms and advanced string manipulation logic. Unlock the comprehensive problem analysis and optimal code solution with a subscription.
Coding QuestionsAmazonConcatenated Words with All Decompositions
4/5Reported as an Amazon coding assessment, this challenge requires identifying specialized vocabulary items that can be formed by combining multiple smaller entries from a provided lexicon. You must generate all valid structural breakdowns for each matching term while maintaining strict lexicographical ordering rules. The exercise evaluates advanced string parsing algorithms and combinatorial depth. View the complete problem details and optimal programmatic solution by getting a subscription.
Coding QuestionsAmazonString Compression In Place
3/5Featured in technical screens at Amazon, this challenge requires you to perform run-length encoding directly inside a character array without allocating extra memory space. It evaluates your pointer manipulation skills and your ability to modify data structures efficiently in place while tracking dynamic lengths. You must carefully overwrite elements and convert repeat counts into characters on the fly. Unlock the complete problem requirements and the optimal code solution with a subscription.
Coding QuestionsAmazonLexicographically Largest Identifier
3/5A coding question about building an identifier from a lowercase string by repeatedly taking one letter and discarding everything on one side of it. The learner returns the largest identifier in dictionary order that the process can produce, for strings up to one hundred thousand letters.
Coding QuestionsAmazonMax Revenue With No k Consecutive Same Operations
4/5Take on this sophisticated dynamic programming challenge reported from coding evaluations at Amazon, where you must maximize cumulative financial returns from a prioritized sequence of tasks. While preserving the original relative order, you are permitted to omit certain operations, subject to a strict upper bound on how many consecutive identical task types can be executed in a row. The exercise tests your ability to balance sequential constraints with profit maximization strategies. Access the complete problem statement and optimized code walkthrough with a subscription.
Coding QuestionsAmazonLongest Prohibited-Word-Free Review Substring
3/5Examine this Amazon technical interview question focused on string manipulation and substring extraction. Given a block of text and a restricted list of terms, your objective is to locate the longest contiguous segment that remains completely free of any forbidden phrases, evaluated in a case-insensitive manner. This task assesses your command over sliding window paradigms, efficient pattern matching, and boundary condition handling. To review the complete problem statement and optimal algorithmic solution, a subscription is required.
Coding QuestionsAmazonCan Two DNA Strings Become Anagrams
3/5Featured in Amazon coding assessments, this string manipulation puzzle explores character frequencies and anagram transformations between biological sequence pairs. You are tasked with determining if two texts can match their character counts by purging any number of instances of at most one distinct element from each side. The challenge tests your analytical reasoning with frequency maps and combinatorial logic. Review the complete problem statement, constraints, and optimized code implementation by purchasing a subscription.
Coding QuestionsAmazonCount Faulty Server Replacements
2/5Analyze system telemetry and track hardware reliability patterns in this practical coding puzzle reminiscent of Amazon technical screenings. The exercise requires you to parse sequential event logs, monitor state continuity across individual entities, and detect threshold violations triggered by consecutive failure markers. You will practice maintaining running counts and state resets efficiently while processing large streams of operational data. Discover the complete problem guidelines, edge-case analysis, and clean model solution by obtaining a subscription.
Coding QuestionsAmazonMaximum Neighbor-Substring Score With One Change
4/5Encountered in Amazon technical screenings, this puzzle asks you to maximize the score of a text string by strategically modifying at most a single character. Scoring is based on individual characters combined with continuous segments of alphabetical neighbors. You must devise an optimal approach to evaluate potential alterations and their cascading effects on adjacent sequence scoring. To view the full challenge details and examine a detailed algorithmic solution, please consider upgrading to a paid subscription.
Coding QuestionsAmazonLongest Alternating Binary After K Flips
3/5This Amazon coding challenge tests your sliding window and string processing skills by asking you to find the longest alternating character sequence achievable within a restricted number of modifications. You will need to efficiently evaluate contiguous segments and manage character flips to maximize valid alternating patterns. The problem assesses your ability to optimize time complexity while handling constraints on mutable data. Subscribe to view the complete problem statement and verified walkthrough solution.
Coding QuestionsAmazonMost Frequent Length-3 Event Sequence From Logs
3/5In this analytical challenge reported during Amazon technical screens, engineers are tasked with analyzing chronological user activity logs to discover the most frequently occurring three-step action chains. Participants must group activities by individual identifiers, extract consecutive triplets, aggregate their frequencies globally, and resolve any tie-breaking scenarios lexicographically. This question examines proficiency in data manipulation, hash map aggregation, and sorting strategies. Unlocking the complete problem details and the optimal model solution requires an active subscription.
Coding QuestionsAmazonMaximize Weighted Inversion Errors With Wildcards
4/5This advanced algorithmic challenge reported at Amazon evaluates your capability to optimize sequence arrangements containing ambiguous characters. The objective involves strategically resolving wildcard elements to maximize a computed score based on specific inversions within the final binary arrangement. This tests your mastery of dynamic programming, greedy strategies, and efficient combinatorial counting under constraints. Discover the complete problem breakdown and efficient model solution by upgrading to a paid subscription.
Coding QuestionsAmazonEncode and Decode a List of Strings
3/5Reported as a common Amazon coding challenge, this problem asks you to design a robust mechanism that compresses an arbitrary collection of text segments into a single cohesive stream and accurately restores them later. The core difficulty lies in safely handling edge cases where special symbols or boundaries appear naturally within the content itself. To view the complete problem statement, test scenarios, and reference implementation, a subscription is required.
Coding QuestionsAmazonMinimum Cost to Break a Subsequence Match
3/5Solve a combinatorial string reduction puzzle featured in technical interviews at Amazon, where you must eliminate specific characters at minimal expense to disrupt subsequence relationships. This challenge tests your optimization skills, frequency counting logic, and greedy or dynamic programming approaches to handle character weights and conditional constraints. Discover the complete problem walkthrough and professional solution code by securing a platform subscription.
Coding QuestionsAmazonMaximize Solar-Powered Bulbs
3/5Maximize the placement of renewable illumination units along a sequence without violating strict spacing constraints against neighboring units, as asked in Amazon coding rounds. This optimization problem tests your dynamic programming or greedy decision-making skills to find the optimal arrangement of elements in a binary sequence. You must carefully evaluate localized placement rules to achieve the highest possible density. Access the complete problem description and model solution by upgrading to a paid subscription.
Coding QuestionsAmazonErase Pairs to Smallest Shortest String
4/5String manipulation and reduction puzzles frequently appear in technical screenings at Amazon to test advanced algorithmic thinking. This challenge requires candidates to systematically eliminate identical character pairs while preserving relative order, ultimately aiming to produce a resulting sequence that is both minimal in length and lexicographically smallest. It rigorously examines your grasp of greedy strategies, stack-based processing, and string optimization techniques. Discover the complete problem description, step-by-step analytical reasoning, and the model solution by becoming a subscriber.
Coding QuestionsAmazonMinimum Inefficiency After Filling Wildcards
3/5In this Amazon assessment task, engineers are challenged to optimize string configurations containing placeholder characters to achieve maximum structural consistency. The objective is to replace ambiguous markers with binary choices in a way that minimizes adjacent character discrepancies across the sequence. This puzzle tests algorithmic thinking, pattern recognition, and dynamic programming or greedy optimization strategies to efficiently compute the optimal configuration cost. Unlocking the full problem description, edge-case analysis, and complete model solution requires an active subscription.
Coding QuestionsAmazonCredential Strength by Vowel Count
2/5Analyzing string compositions to evaluate rule adherence is a frequent theme in introductory coding assessments, such as this interview question reported by Amazon. The task requires you to validate text inputs based on specific character inclusion criteria and compute a score derived from the frequency of particular linguistic elements. Candidates must write a clean function to evaluate these conditions accurately. The full problem statement and official code solution require a subscription.
Coding QuestionsAmazonMinimum Conflicts Merging Two Commit Branches
4/5This Amazon interview question explores merging two distinct commit sequences, represented as strings, into a single combined sequence. The challenge lies in preserving the internal relative order of commits from each original branch while minimizing "conflicts." A conflict is defined as an inversion in the merged sequence, where a commit with a lower priority appears before one with a higher priority. Your task is to determine the optimal interleaving of the two sequences that results in the fewest possible conflicts. This problem tests dynamic programming and sequence manipulation. The full problem statement and a model solution are available with a subscription.
Coding QuestionsAmazonStrings Equal Under a Letter Bijection
3/5This Amazon coding challenge presents an intriguing problem involving string comparisons under a unique transformation rule. For each given pair of strings, you must ascertain if one can be made identical to the other by consistently remapping characters. This means any character in the first string can be globally substituted for another, as long as the mapping is one-to-one and consistent across all occurrences. The question assesses your ability to identify underlying structural equivalence despite superficial differences in character representation. The full problem and model solution require a subscription.
Coding QuestionsAmazonCount Reversals Making the String Smaller
2/5Tackle an intriguing string manipulation puzzle reported from Amazon interviews that requires you to evaluate specific window segments and determine the impact of in-place reversals on overall lexicographical ordering. This task examines your string processing skills, sliding window techniques, and efficiency in comparing altered sequences against original bounds. Access the full problem description, edge-case analysis, and expert model solution by securing a premium subscription.
Coding QuestionsAmazonFill Wildcards to Minimize Cost
3/5Tackling text completion challenges with missing symbols requires strategic decision-making to keep accumulation metrics low while maintaining alphabetical order. This reported Amazon interview puzzle tests your ability to optimize string construction under strict penalty constraints. Discovering the most efficient replacement strategy demands clever algorithm design and careful state management. Access to the comprehensive problem description and optimal model solution requires a paid subscription.
Coding QuestionsAmazonSplit String by Shared Distinct Characters
3/5In this intriguing string-manipulation challenge reported from Amazon, you must determine how many valid ways a text sequence can be partitioned into two adjacent segments such that their overlapping unique characters exceed a given threshold. The exercise evaluates your frequency counting logic, prefix-suffix analysis, and ability to optimize string traversal for performance. Sharpen your algorithmic skills by reviewing the complete challenge specifications and a detailed model solution available exclusively to subscribers.
Coding QuestionsAmazonFill Wildcards to Form Smallest Palindrome
3/5This coding challenge, frequently reported during Amazon interviews, requires you to transform a string containing placeholder symbols into a valid symmetric sequence. The goal is to substitute every wildcard character efficiently to achieve mirror symmetry while satisfying lexicographical minimization rules. The task tests your string manipulation skills, symmetry logic, and edge-case handling for impossible configurations. Unlock the complete problem text and optimal solution by subscribing.
Coding QuestionsAmazonLexicographically Smallest Special String Greater Than S
4/5Examine a sophisticated string manipulation puzzle often featured in technical assessments at Amazon, focusing on lexicographical constraints and pattern generation. The objective is to discover the immediate successor of a given text string that adheres to strict adjacency rules regarding character uniqueness. This challenge evaluates your capability to construct optimal greedy algorithms and navigate boundary conditions efficiently within tight constraints. To access the complete problem statement, complexity analysis, and the official reference solution, a subscription is needed.
Coding QuestionsAmazonWord Break — All Sentences
3/5This classic text-processing challenge, commonly asked in interviews at Amazon, requires you to segment a continuous character string into valid dictionary words, generating every possible sentence combination. You must efficiently explore multiple valid partitions without falling into exponential time traps. The task tests your proficiency with dynamic programming, backtracking recursion, and string manipulation techniques. To explore the complete problem text and review the optimal implementation code, a paid subscription is required.
Coding QuestionsAmazonSmallest Periodic Number At Least As Large
3/5Featured as an Amazon technical interview challenge, this problem asks you to construct a repeating digit pattern of equivalent length that closely matches or exceeds a given numerical threshold. It tests your deep understanding of modular arithmetic, string manipulation, and edge-case management when incrementing constrained sequences. Unlock the comprehensive problem statement and verified model solution with a subscription.
Coding QuestionsAmazonGet Nested Object Value by Path String
3/5A coding question on reading a value deep inside nested dictionaries and lists from a single text path that mixes names and positions. It covers parsing the path, handling missing or mismatched steps with a fallback value, and rejecting badly formed input.
Coding QuestionsAmazonFind Anagrams in a Character Stream
3/5Find every place in a character sequence where a fixed-length window uses exactly the same letters as a given word. The task asks for an incremental method that stays fast as the sequence grows. Subscribe to read the full statement and the model solution.
Coding QuestionsAmazon
String questions at Google
Serialize and Deserialize List of Strings
3/5Write a pair of routines that pack a list of arbitrary strings into one string and recover the original list exactly. Asked at Google, this is a framing problem rather than a string problem: any separator you pick can appear inside the data, so the encoding has to carry lengths or escape characters. You will choose a scheme, argue that it is unambiguous for every possible input, and handle empty strings and an empty list. A subscription unlocks the full problem and the model solution.
Coding QuestionsGoogleConvert Snake Case to camelCase
2/5Rewrite an underscore-separated identifier in the capitalised style, leaving the first word alone. This Google warm-up is specified tightly enough that the guards fall away: no leading or trailing separators, and none repeated. You will split once, capitalise each later word, and discuss what you would add if those guarantees were removed. Subscribers can read the complete problem and the reference solution.
Coding QuestionsGoogleCheck Whether a Template Occurs in Leaf Text of a Binary Tree
3/5Read the characters stored in a binary tree's leaves from left to right and decide whether a given pattern appears somewhere in that sequence. This Google question combines a traversal with substring search, and the interesting part is doing it without materialising the whole concatenation first. You will handle spaces inside leaves, keep the matcher fed incrementally, and give an honest complexity bound for both the traversal and the search. A subscription unlocks the complete problem and the model solution.
Coding QuestionsGoogleEnumerate All Strings of 1s and 2s with a Given Digit Sum
2/5A coding question about generating every sequence built from two small symbols that meets an exact total, then reasoning about how large the result can get. It tests recursive enumeration, ordering of the output, and how to size the work by what is produced rather than by what is searched.
Coding QuestionsGoogleScore Points
2/5Score a row of cells where occupied cells pay their own value and every adjacent occupied pair pays a bonus. This Google question is a single scan once you see that the pair bonus can be charged when the second of the pair is reached, which removes any need to look ahead. You will accumulate both components together, keep the adjacency test local, and handle a board with no occupied cells. A subscription unlocks the full problem and the reference solution.
Coding QuestionsGoogleMost Booked Hotel Room
3/5Replay a chronological log of room bookings and releases across a small hotel and report which room was taken the most times. Asked at Google, the question is a counting exercise with a deliberately specified tie rule, and the room labels make the index arithmetic worth getting right. You will track per-room counts, ignore the releases for counting purposes, and resolve ties the way the specification demands. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsGoogleMaximum Time
2/5Fill the blanked-out digits of a clock reading so the resulting time is the latest one possible. Asked at Google, this is a greedy question with coupled choices: the first hour digit limits what the second can be, so the two cannot be decided independently. You will enumerate the few hour cases explicitly, maximise the minutes separately, and keep every output within a valid day. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsGoogleChecksum-Based Chunk Validation
3/5Master string parsing and block processing techniques frequently featured in technical evaluations at Google. This problem evaluates your ability to segment sequential text data into uniform fragments and compute arithmetic signatures based on character mapping rules. You will need to carefully handle boundary conditions and apply efficient transformations. Explore the complete problem description and expert model solution with a paid subscription.
Coding QuestionsGoogleCount Triples with Matching Letter Sets on Both Sides
4/5A coding question about counting pairs of neighbouring substrings of a lowercase string that are made of exactly the same letters. The input is long enough that checking every pair of pieces directly is too slow, so the count has to come from structure in the string.
Coding QuestionsGoogleFill a Template with %KEY% Placeholders
2/5A coding question on filling in a text template from a dictionary of named values. Precise rules decide what happens with unknown names, stray symbols and values that look like placeholders themselves.
Coding QuestionsGoogleTime to Type a String
2/5A coding question about a one-row keyboard where moving the finger between two keys costs their distance. Given the layout and a word, work out the total time to type it, starting from the first key.
Coding QuestionsGoogleGroup Strings with the Same Shift Pattern
3/5A string-processing question about recognising words that are the same up to a uniform letter shift. The candidate must partition a list of lowercase words into such families and handle wrap-around, repeated words and empty input.
Coding QuestionsGoogleMorse Code Decoding — Count All Decodings
3/5A coding question on counting the ways a run-together string of dots and dashes can be split into letters from a given code table. The learner handles the empty string, impossible inputs and very large counts exactly.
Coding QuestionsGoogleStuck Keyboard / Jammed String Matching
3/5A coding question about a keyboard whose keys can repeat a character on one press: decide whether an intended word could have produced a typed string, then filter a word list by that test. Edge cases include empty strings, extra characters and repeats that are too short.
Coding QuestionsGoogleNecklace Cut into Two Halves with Equal D/R Counts
3/5A coding question about splitting a circular two-letter sequence into two parts that are each balanced between the letters. It asks for a short argument that such a split always exists, plus code that finds one.
Coding QuestionsGoogleExpression Add Operators to Reach Target
4/5Featured frequently in Google coding assessments, this algorithmic puzzle challenges you to insert mathematical operations between sequential digits to match a desired numerical target. Success requires navigating recursive state spaces and managing operator precedence constraints without violating formatting rules. Gain full access to the comprehensive solution and step-by-step code walkthrough with a subscription.
Coding QuestionsGoogleSubtract Two Numeric Strings (Big Integer Subtraction)
3/5In this algorithmic challenge reported from a Google interview, you must implement custom arithmetic subtraction for extremely large numbers represented as text strings that exceed standard primitive limits. The task tests your mastery of manual digit-by-digit computation, carry and borrow tracking, and sign management. You will also need to handle formatting nuances such as removing redundant leading zeros safely. Unlock the complete problem specification and optimal reference solution by getting a subscription.
Coding QuestionsGoogleEvery Length-3 Subsequence Has a Valid Permutation
3/5A coding question on checking every three-character subsequence of a string against a dictionary, where any rearrangement of the three characters counts as a match. The function must handle strings of up to 100,000 characters quickly.
Coding QuestionsGoogleDictionary Tokenizer with Longest Match
2/5A coding question on turning a string into a sequence of numeric codes drawn from a given token dictionary. It checks the matching rule at each position, how characters that no token covers are handled, and edge cases such as empty text.
Coding QuestionsGoogleString Decompression with Nested Counts
3/5A coding question on expanding a compact string notation where bracketed groups carry a repeat count and may contain further groups. The task is to rebuild the full text while keeping the surrounding plain characters in place.
Coding QuestionsGoogleWord Wrap Line Count with Whitespace and Newlines
2/5A coding question about laying a block of text out in lines of limited width and counting the lines, with rules for explicit newlines, empty lines and repeated whitespace. It tests careful handling of boundary and empty-input cases in a single pass over the text.
Coding QuestionsGoogleMove Chess Pieces on a 1D Board to Match Target
3/5A coding question about pieces on a one-dimensional board that can only slide in a fixed direction. Given a starting layout and a desired one, decide whether the move rules can produce it.
Coding QuestionsGoogle
String questions at Meta
Find a String Containing Another as Substring
2/5This frequently asked Meta interview question evaluates your ability to process text collections and efficiently evaluate string containment relationships. You will need to inspect a collection of textual elements to identify the initial entry that embeds another member of the same set as a constituent part. This challenge tests fundamental string manipulation and search optimization techniques. Access to the complete problem breakdown and the optimal model solution requires a subscription.
Coding QuestionsMetaGroup Anagrams
2/5In this classic Meta interview question, candidates are given a collection of strings and must partition them into clusters of words formed by rearranging the same letters. The challenge tests string manipulation, hashing techniques, and frequency counting to achieve optimal performance. A common follow-up explores sorting the resulting clusters by population size. To view the complete problem description and model code solution, a paid subscription is required.
Coding QuestionsMetaShortest Unique Prefix
3/5Examine a string processing challenge reported at Meta that requires extracting the shortest unique identifying substring for every item within a collection of words. Candidates must build prefix-checking mechanisms that differentiate each entry from its peers while maintaining initial arrangement order. This task tests tree-based data structures or efficient sorting strategies for string analysis. Unlocking the complete problem details and professional implementation requires an active subscription.
Coding QuestionsMetaRemove Unmatched Brackets
4/5A coding question about repairing a string of letters and brackets by deleting as few brackets as possible, first with one kind of bracket and then with several kinds that must nest correctly. It tests how carefully you define a balanced string and how you show that the number of deletions cannot be improved.
Coding QuestionsMetaValid Number String Parsing
3/5Asked during a Meta coding interview, this validation challenge requires you to determine whether a given text sequence accurately represents a properly formatted numeric value. The exercise tests your string parsing abilities, attention to edge cases, and proficiency in handling optional signs, decimal points, and scientific notation exponents. Crafting a robust solution involves managing various state transitions cleanly. Access the complete problem text and professional solution by subscribing today.
Coding QuestionsMetaPalindrome After Removing Characters
3/5A coding question on deciding whether a string can be made to read the same in both directions by deleting at most one character, with a follow-up that allows several deletions. Exact character comparison, empty strings and already-symmetric inputs are part of the task.
Coding QuestionsMetaFewest Insertions to Balance Parentheses
3/5A string question about repairing a sequence of parentheses with as few additions as possible. It first asks only for how many are needed, then for a repaired string.
Coding QuestionsMetaFind a String Containing Another as a Substring
2/5A coding question on strings and substring containment. Given a list of words, the task is to detect whether one word contains another, with attention to ordering, self-matches and efficiency on larger inputs.
Coding QuestionsMetaShortest Window Containing All Required Characters
4/5Given a long text and a multiset of required characters, return the shortest contiguous piece of the text that contains all of them with the right counts. An empty string is returned when no piece qualifies.
Coding QuestionsMetaNumeric Literal Checker
4/5A coding question on string validation: decide whether a piece of text is a well-formed decimal number with an optional sign, fraction and exponent. Exact rules fix what counts as a digit and whether surrounding spaces are allowed.
Coding QuestionsMetaEvaluate Arithmetic Expression With Parentheses
4/5A coding question on computing the value of an arithmetic expression written as text. The expression mixes four operators, nested brackets and negative numbers, and the result must follow the usual ordering rules.
Coding QuestionsMetaResolve a Unix cd Path
2/5Reported during Meta engineering interviews, this navigation puzzle challenges you to normalize Unix-style file system paths following a command. Given a starting working directory and a target destination string, your goal is to compute the resulting absolute path while correctly handling parent directory references, current directory markers, and redundant slashes. It is a fantastic test of stack-based parsing and edge-case management. Unlock the complete walkthrough, time complexity analysis, and clean reference implementation with a subscription.
Coding QuestionsMetaEmit Threshold Warning on Metric Breaches
2/5Test your text-parsing and data-monitoring skills with this log analysis problem reported during interviews at Meta. The challenge requires you to scan structured text rows sequentially, extract specific numerical columns, and trigger an alert once a defined threshold is breached a certain number of times. This question evaluates your string manipulation abilities, stream processing logic, and edge-case handling for malformed data. The complete problem statement and model solution require a subscription.
Coding QuestionsMetaWord Container with Prefix Membership Queries
3/5This Meta interview challenge evaluates your ability to design an efficient string collection data structure capable of handling text insertion and rapid prefix membership evaluations. You must implement a specialized lookup mechanism that avoids sluggish linear scans when verifying whether any previously stored string acts as a prefix of a query string. The task examines advanced tree-based traversal or indexing strategies to optimize search operations. Access to the full problem description and expert model solution requires a subscription.
Coding QuestionsMetaBar and Foo
3/5Find the longest word from a list that can be spelled by deleting characters from a given string without reordering what remains, preferring the alphabetically smallest on a tie. This Meta question is a subsequence check repeated across candidates, and the interesting part is the ordering rule layered on top. You will test each candidate with two pointers, compare by length then alphabetically, and reason about the cost when both the string and the list are large. Subscribers get the complete problem and the model solution.
Coding QuestionsMetaEvaluate an Arithmetic Expression Without Parentheses
3/5Encountered frequently during technical screens at Meta, this coding challenge requires you to safely parse and compute mathematical expressions containing basic arithmetic operators without relying on parentheses. You must correctly handle operator precedence where multiplication and division take priority over addition and subtraction, while also validating the expression string for malformed inputs or division by zero errors. Access to the full problem statement, test cases, and optimal model solution requires a subscription.
Coding QuestionsMetaCompare Concatenations of Two String Lists
2/5This Meta interview question examines your ability to compare aggregate string values formed by fragmented list components without allocating extra memory for full concatenations. The core challenge involves implementing an incremental traversal strategy that processes character sequences lazily in linear time relative to total length. To view the complete problem statement and optimal code solution, please subscribe.
Coding QuestionsMetaSmallest number constructed by odd digits
2/5Pull only the odd digits out of a number and rearrange them into the smallest value they can form. This Meta screening question is deliberately easy and still separates candidates on care: the digits must be selected, then ordered, and the input can run to a thousand digits so string handling beats arithmetic. You will decide how to treat repeated digits and why sorting ascending is sufficient here. The complete problem and the reference solution are available to subscribers.
Coding QuestionsMetaVerifying an Alien Dictionary
2/5A string question about checking whether a list of words is ordered according to a custom alphabet in which the letters are ranked differently from English. You must handle words that share a prefix correctly.
Coding QuestionsMeta
String questions at Capital One
Branch with the most pushed files from a command log
1/5A short simulation exercise built on a text log that mimics a source-control session. You replay the entries in order while tracking which line of work is active and tally what lands on each one, then name the winner. The interesting parts are choosing a tie rule, handling logs that never record any contribution, and rejecting malformed sequences.
Coding QuestionsCapital OneEvaluate arithmetic equations from parallel arrays
1/5An easy warm-up coding task on validating many small sums and differences stored position by position across several lists. Each position carries an operator symbol that decides how its numbers combine before being compared with an expected value. The point is clean single-pass iteration and deciding how unexpected operator symbols are reported.
Coding QuestionsCapital OneSubtract Product and Sum of Digits of a Large Number
2/5Take a number given as a long string of digits and report the difference between the product of its digits and their sum. This Capital One question is intentionally mechanical and checks two things: that you treat the input as text rather than an integer, and that you notice a single zero digit collapses the product. You will iterate once over the characters, keep both accumulators in step, and reason about the size the product can reach. The complete problem and the reference solution require a subscription.
Coding QuestionsCapital OneString Array Transformation
2/5Transform a list of strings in two different ways depending on whether each one has an odd or an even length. This Capital One warm-up is trivial to describe and still catches people who mutate the input list or who reverse and lowercase the same entry. You will apply exactly one rule per string, preserve list order, and decide how a single-character string is treated. Subscribers can read the full problem and the reference solution.
Coding QuestionsCapital OneReorder a String Alternating From Both Ends
2/5A short string-manipulation coding question about building a new ordering of a text from its two ends. It checks that you handle both even and odd lengths, avoid duplicating or dropping the middle character, and keep the work linear even for very long inputs.
Coding QuestionsCapital OneDeal Out Win, Draw, Loss Results in Repeating Rounds
2/5A string coding question about regrouping a sequence of three kinds of outcomes into a repeating pattern. The tricky part is what happens once one kind is used up while others remain, and doing it without repeatedly searching and deleting from the text.
Coding QuestionsCapital OneCount Symmetric Length-3 Substrings
1/5This Capital One interview question asks you to scan a text sequence and tally how many three-character segments feature matching bookend letters, ignoring capitalization while disregarding the middle character entirely. It is designed to test your baseline text-processing capabilities, looping controls, and case-insensitivity handling in a straightforward setting. Gain full access to the complete challenge details and our optimized reference solution through a paid subscription.
Coding QuestionsCapital OneLongest Same-Character Run
1/5This beginner-friendly string manipulation challenge, commonly encountered in Capital One technical assessments, asks programmers to discover the longest contiguous sequence of identical letters within a given text. When multiple character sequences share the maximum possible span, the algorithm must prioritize the instance appearing furthest to the right before formatting the result as a character-length pair. This puzzle evaluates foundational string traversal, conditional logic, and tracking techniques. Unlock the comprehensive problem statement, edge cases, and an optimized solution by purchasing a subscription.
Coding QuestionsCapital OneCount Symmetric Length-3 Substrings
1/5Examine a text string to find every three-character sliding window where the initial and concluding characters match each other regardless of letter casing. This beginner-friendly string processing exercise evaluates your fundamental knowledge of indexing, conditional logic, and character manipulation in programming languages. Often utilized in introductory technical evaluations at Capital One, it tests your ability to write clean, readable code with proper boundary checks. Unlocking the complete question details, extensive sample tests, and verified reference solution requires a paid subscription.
Coding QuestionsCapital OnePair Concatenation to Target
3/5A coding question on counting ordered pairs of list entries whose decimal digits, joined end to end, read exactly as a given number. It checks repeated values, entries that cannot pair with themselves, zeros, and inputs too large for a pairwise scan.
Coding QuestionsCapital OneEven Digit Count
2/5A beginner coding question on counting the values in a list of positive integers whose decimal form has an even number of digits. It checks careful handling of the values where the digit count changes, such as 99, 100 and 10000.
Coding QuestionsCapital One
String questions at Upstart
Increase Exclamation Marks and Replace Periods
2/5Master string manipulation techniques with this Upstart interview challenge focused on modifying specific punctuation marks based on consecutive patterns. This exercise evaluates your ability to iterate through text efficiently while applying conditional replacement rules without altering other characters. It is an excellent test of foundational string processing and edge-case handling skills. Access the complete problem description and expert model solution by obtaining a subscription.
Coding QuestionsUpstartFilter List Strings by Presence of Any Character from a Given String
2/5Practice a practical data filtering exercise featured in recent Upstart recruitment cycles. The objective is to process a collection of text strings and retain only those items that share at least one common character with a designated reference string. This task evaluates your foundational understanding of collection filtering, string iteration, and membership checks in your chosen programming language. Reviewing the complete prompt specifications and the verified reference implementation necessitates a subscription.
Coding QuestionsUpstartInterleave Three Equal-Length Strings
2/5In this Upstart coding challenge, you are tasked with interleaving three input strings that are guaranteed to have the same length. The objective is to construct a new string by sequentially appending characters from each of the three original strings at corresponding positions. Specifically, for every index, you should take the character from the first string, then the second, and finally the third, repeating this pattern across the entire length. This problem evaluates your fundamental string manipulation skills and ability to iterate through multiple sequences simultaneously. The full problem and model solution require a subscription.
Coding QuestionsUpstartReplace Periods with Exclamation Marks
2/5This Upstart interview exercise focuses on string manipulation and pattern normalization. You are given a text sequence where specific punctuation marks need to be substituted, followed by a cleanup phase to eliminate redundant consecutive symbols resulting from the initial replacement. It tests fundamental string traversal, conditional logic, and state tracking. To view the full problem description and the model solution, a paid subscription is required.
Coding QuestionsUpstartFormat Bytes into Human-Readable String (B/KB/MB)
2/5Encountered during Upstart technical screenings, this coding exercise requires transforming a raw integer representing a byte count into a clean, human-friendly string using standard storage units. You will practice scaling values across bytes, kilobytes, and megabytes while applying precise rounding rules to two decimal places. This task tests fundamental arithmetic manipulation, boundary condition handling, and output formatting proficiency. Gain full access to the complete problem instructions and verified model solution with a subscription.
Coding QuestionsUpstartFind Anagrams Matching First Letter
3/5Presented during Upstart coding interviews, this challenge focuses on string manipulation and combinatorial logic. You are asked to generate permutations of a given text while filtering the resulting vocabulary based on specific prefix alignment rules. The exercise tests your understanding of character frequencies, permutation generation, and conditional filtering algorithms. To examine the full problem requirements, test cases, and a comprehensive model solution, please consider purchasing a subscription.
Coding QuestionsUpstartaddDrama
2/5This Upstart interview question requires you to transform a given text string by swapping specific punctuation marks and ensuring proper sentence termination rules. It evaluates fundamental string manipulation skills and edge-case handling in text processing. The full problem description and model solution require a subscription.
Coding QuestionsUpstartDecrypt Scrambled Sentence
3/5This Upstart coding question challenges your string manipulation and algorithmic thinking. You are provided with a dictionary of valid words and a sentence where each word has been scrambled. The rule for scrambling is that the first letter remains in its original position, while the rest of the letters are rearranged to form an anagram of an actual word from the dictionary. Your objective is to reconstruct the original sentence by correctly deciphering each scrambled word. The full problem description and a model solution are available with a subscription.
Coding QuestionsUpstartDecrypt String (Two-Cipher Relay)
3/5This engaging puzzle, featured in interviews at Upstart, investigates your analytical skills in deciphering layered cryptographic transmissions involving multiple communicating parties. You are given original and encoded text samples alongside a doubly obfuscated payload, requiring you to reverse-engineer the underlying transformation logic to uncover the hidden transmission. To examine the complete scenario specifications and view the comprehensive code solution, a paid subscription is required.
Coding QuestionsUpstartParse a Comma-Separated String with Quoted Fields
3/5Encountered during technical evaluations at Upstart, this string parsing problem assesses your capability to implement robust text-processing utilities from scratch. The task revolves around breaking down a structured, comma-delimited text sequence while correctly handling enclosing quotation marks, escaped characters, and nested delimiters. Solving this efficiently demands meticulous state management and careful boundary condition checks. To explore the complete problem specifications along with a fully implemented model solution, a subscription is necessary.
Coding QuestionsUpstart
String questions at Apple
One Edit Distance
3/5In this classic Apple interview question, candidates must determine whether two given textual sequences differ by exactly a single modification. The task tests your ability to handle insertions, deletions, and substitutions efficiently while ensuring that identical strings are correctly recognized as not meeting the criteria. It heavily emphasizes string comparison techniques and boundary condition handling. Unlock the full problem description and comprehensive model implementation by upgrading to a paid subscription.
Coding QuestionsAppleSubstring Pattern Matches
3/5Report every position in a string where a given pattern begins, including matches that overlap one another. This Apple question was originally framed as writing a generator that signals on each hit, so the interviewer is watching whether you can produce results lazily as well as correctly. You will allow overlapping matches rather than skipping past each hit, keep the indices ascending, and discuss when a linear-time matcher is worth the extra code. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsAppleValid Palindrome
2/5A coding question about checking whether a piece of text is symmetric after discarding punctuation and ignoring capitalization. It tests clean string traversal and handling of empty and all-punctuation inputs.
Coding QuestionsAppleDecode a Run-Length String With Optional Counts
2/5A coding question on string parsing: expand a compact letter-and-count encoding back into plain text. It checks multi-digit and zero counts, letters without a count, and how the decoder reacts to input that breaks the format.
Coding QuestionsAppleBalanced Brackets Check
2/5A coding question on matching bracket characters of three kinds in a string and deciding whether they are properly paired and nested. It covers wrong closing types, closing brackets that appear too early, and openings left unclosed at the end.
Coding QuestionsAppleWord Index with Exact and Prefix Lookup
3/5A coding question about building a small word index class. You add words one at a time and answer two kinds of question: whether a word was stored, and whether any stored word begins with a given string.
Coding QuestionsAppleGroup Words That Use the Same Letters
3/5A coding question on string grouping: given a list of lowercase words, collect every set of words that are rearrangements of one another and return those collections, keeping each word exactly once per occurrence.
Coding QuestionsAppleExpand a Nested Repeat Encoding
3/5A coding question on turning a compact text notation, where counted groups can sit inside other groups, back into its full written-out form. The learner must handle multi-digit counts and any nesting depth.
Coding QuestionsAppleHighlight Keywords in a Text Snippet
3/5A coding question about producing highlighted text: every place a keyword appears in a string must end up inside bold markup, using as few tag pairs as possible. It checks overlapping and back-to-back keyword appearances, case sensitivity and inputs with nothing to highlight.
Coding QuestionsApple
String questions at Stripe
Matching Contacts by Email Domain and Preferences
3/5This customer routing challenge, featured in Stripe interviews, requires matching incoming email addresses to appropriate support contacts based on domain patterns and customized priority lists. The implementation must evaluate domain preferences, handle fallback rules for unconfigured agents, and sort resulting matches deterministically. This task tests string parsing capabilities and clean, rule-based data filtering logic. Discover the comprehensive problem details and optimal implementation by subscribing.
Coding QuestionsStripeDataset Validation (Banned and Stop Words)
3/5Practice a multi-stage text cleaning pipeline frequently utilized in Stripe technical interviews. You will process structured text datasets through progressive validation layers, enforcing field requirements, stripping out prohibited vocabulary, and summarizing stop words according to specific criteria. This exercise tests your string manipulation proficiency, data hygiene practices, and ability to scale transformation logic cleanly. Gain full access to the complete problem breakdown and expert code solutions with a paid subscription.
Coding QuestionsStripeEmail Log Grouping and Sorting
3/5Organize and process chronological communication logs in this Stripe-style coding challenge, which requires grouping entries by sender and sorting them using multiple hierarchical criteria. This task assesses your proficiency in data structuring, custom sorting logic, and clean data transformation in order to produce structured text outputs. It evaluates how well you handle complex requirements involving mixed data types and formatting. View the complete problem details and detailed model solution with a subscription.
Coding QuestionsStripeHTTP Accept-Language Preference Matching
3/5This Stripe interview question requires you to parse and match HTTP Accept-Language headers against a predefined set of supported localization options while preserving user preference order. It evaluates your string manipulation capabilities, attention to parsing edge cases, and ability to clean messy input headers efficiently. View the complete problem breakdown and implementation details by upgrading to a paid subscription.
Coding QuestionsStripeURL Path Segment Compression
3/5This reported coding interview challenge from Stripe evaluates your ability to manipulate and parse hierarchical string structures based on specific length and grouping constraints. You will need to write functions that break down delimited text hierarchies, apply abbreviation transformations to inner components, and handle conditional collapsing rules when limits are exceeded. The exercise tests your string manipulation proficiency and attention to complex formatting logic. Access to the full problem description and expert model solution requires a subscription.
Coding QuestionsStripeBusiness Account Data Verification (KYC)
3/5This Stripe interview question focuses on validating compliance records provided in a structured text format. You will need to parse tabular text data, handle whitespace cleaning, and enforce strict completeness rules across multiple business attributes to classify each record accurately. The task assesses your data wrangling capabilities, string manipulation proficiency, and adherence to specification guidelines. Access the complete problem description, sample datasets, and production-ready solution code with a subscription.
Coding QuestionsStripeBitFont Bitmap Character Renderer
3/5This Stripe interview question tests your ability to manipulate grid data and string formatting by building a custom text renderer using bitmap character definitions and run-length encoding. You will need to process character matrices, concatenate glyphs horizontally according to specific layout rules, and handle encoded data streams efficiently. The complete problem statement, comprehensive test cases, and optimal model solution require a subscription.
Coding QuestionsStripeTransaction Fee Calculator
3/5Featured in Stripe interview loops, this data-processing problem requires parsing comma-separated text to calculate accurate financial transaction fees based on specific payment provider rules. Candidates must correctly apply mathematical rounding logic and format output strings in a precise sequence. This task evaluates your text parsing skills, floating-point handling, and clean code principles. Unlock the full problem breakdown and complete reference solution with a paid subscription.
Coding QuestionsStripe
String questions at Uber
Robot Bounded In Circle
2/5Decide whether a machine following a repeated instruction string stays within some bounded area forever or wanders off indefinitely. This Uber question has a short answer with a real proof behind it: run the instruction set once, and the final heading plus the net displacement determine the outcome for all repetitions. You will track position and facing through one pass, and argue why four repetitions are enough to close any loop. Subscribers get the full problem and the model solution.
Coding QuestionsUberIsomorphic Strings
2/5This Uber interview challenge tests fundamental string manipulation and mapping concepts by asking developers to verify whether two character sequences exhibit a one-to-one structural correlation. Candidates must ensure that transforming characters from one string yields the other while maintaining their original relative order without conflicts. The evaluation highlights efficiency in hash mapping and character lookup checks over large ASCII inputs. Access to the full problem statement and an optimized model solution requires a paid subscription.
Coding QuestionsUberRecover the Letter Order of an Unknown Alphabet
4/5A coding question about reconstructing an unknown alphabet from a list of words that is already in dictionary order. You must return a consistent letter ordering, or report that the input contradicts itself.
Coding QuestionsUberSplit a String into Dictionary Words
3/5A coding question on deciding whether a string can be fully split into words from a given vocabulary, with words reusable. It tests careful handling of reuse and empty input, and meeting time limits on long strings that have no valid split.
Coding QuestionsUberLetter Combinations of a Phone Number
3/5Practice this classic Uber interview question that requires generating all possible letter sequences corresponding to a sequence of numeric keypad digits. You will translate phone button mappings into combinations through systematic exploration and tree generation. The problem tests your recursive backtracking skills and invites comparative analysis with iterative generation strategies. Unlock the comprehensive challenge guidelines and a verified code solution by subscribing.
Coding QuestionsUberNested Add/Sub Expression Evaluator
3/5A coding question on reading a text expression made of function-style addition and subtraction calls that may contain one another, and returning its numeric value, including negative numbers and irregular spacing.
Coding QuestionsUberShortest Word Distance in a String Array
1/5Explore this frequent Uber technical assessment problem that challenges you to find the closest spatial separation between two specific words inside a collection of text strings. This task examines your ability to traverse sequences efficiently, maintain state pointers, and calculate linear intervals with optimal performance. It is a fantastic exercise for strengthening foundational scanning techniques used in text processing. Unlock the comprehensive explanation, edge-case analysis, and clean code solution by securing a subscription.
Coding QuestionsUberWord Search Along Straight Lines in Eight Directions
3/5A grid-search coding question: decide whether a given string can be read in a single straight line, in any of eight directions, through a rectangular array of letters. Turns are not allowed, so the work is in handling directions and edges correctly.
Coding QuestionsUber
More String questions
Moderator List Hierarchy
3/5Reported as a technical interview question at Reddit, this exercise requires you to reconstruct a hierarchical administrative state from a chronological stream of log events. You must process user elevation and removal actions accurately to determine active privileges and enforce permission rules based on historical timestamps. The challenge emphasizes careful state management, event ordering, and robust data structure design. The complete problem statement, edge-case analysis, and reference implementation require a subscription.
Coding QuestionsRedditURL Query-String Parser
2/5Reported as a practical coding challenge during Airbnb interviews, this task focuses on string parsing and data extraction. Candidates are asked to decode a standard web address parameter string into an organized key-value mapping while properly handling special characters and duplicate keys. This tests your attention to detail and robust string manipulation skills. To unlock the complete problem guidelines and the optimal model solution, a subscription is required.
Coding QuestionsAirbnbFun With Anagrams (Deduplicate Anagrams)
2/5Streamline a collection of text strings by removing redundant anagrams while preserving the earliest appearance of each equivalence class, a common task in Akuna Capital interviews. This problem evaluates your skill in utilizing hashing, frequency counting, or canonical sorting keys to identify patterns and manage lexicographical ordering. It is a great exercise for strengthening core string processing capabilities. Get the complete problem guidelines and our optimized model solution with a subscription.
Coding QuestionsAkuna CapitalPhrase search over multiple documents
3/5A search-engine style coding round: given a collection of texts, report which ones contain a term, which ones contain a set of terms, and which ones satisfy a combination of terms joined by a single kind of boolean connective. Fast repeated queries call for preprocessing the collection into a lookup structure.
Coding QuestionsConfluentAnagram Sentence Substitutions
3/5Featured in recent SoFi assessments, this challenge requires you to compute all possible sentence variations by substituting terms with their corresponding lexical equivalents. You will need to process a dictionary of letter-equivalent groups and evaluate how many permutations can be generated for a given set of statements. The task heavily emphasizes hash map aggregation and combinatorics. Unlock the complete problem guide and optimal solution by subscribing today.
Coding QuestionsSoFiString Compression and Decompression
3/5Write a matching pair of routines that shorten a string by describing its runs and then restore the original exactly. This Affirm question is specified carefully: if the compressed form is not actually shorter you must return the input untouched, which rules out the naive always-encode approach. You will parse multi-digit run lengths on the way back, keep the two routines exact inverses where it matters, and cover inputs that compress to nothing useful. The full problem and the model solution require a subscription.
Coding QuestionsAffirmValidate IPv4 Addresses in an Array
2/5This string-parsing and validation exercise, often used as an initial screening prompt at Okta, requires you to verify whether a collection of text strings adheres strictly to the formatting rules of internet protocol version four addresses. The task examines your attention to edge cases, such as segment boundaries, numeric ranges, leading zeros, and delimiter placement within input data. It is a practical test of clean string manipulation and conditional logic commonly encountered in networking applications. The complete problem statement and an efficient reference solution are available with a subscription.
Coding QuestionsOktaValidate Brackets & Parse Nested Rich Text
3/5Master a two-part text manipulation challenge commonly featured in engineering evaluations at Figma. The first phase evaluates your ability to verify structural correctness in character sequences containing paired delimiters, while the second phase requires transforming hierarchical syntax into nested collection formats. This problem tests fundamental concepts in recursion and linear data structures. To view the full problem statement, detailed explanations, and complete model solution, a paid subscription is required.
Coding QuestionsFigmaCourse Overlap by Student ID
3/5In this Walmart Labs interview challenge, candidates receive a collection of student-to-course mapping records and must compute the shared classes for every distinct pair of students. The exercise evaluates your ability to aggregate data into hash sets, compute intersections efficiently, and format output keys lexicographically. It tests foundational data manipulation and combinatorial grouping skills. Access to the complete problem instructions and verified solution requires a subscription.
Coding QuestionsWalmart LabsEqualize Letter Frequencies With Add / Remove
3/5Find the fewest single-letter additions or deletions that leave every letter still present in a word appearing the same number of times. This Goldman Sachs question is a counting problem with a search over targets: each candidate common frequency implies a cost, and the minimum across candidates is the answer. You will tabulate letter frequencies, evaluate each target frequency, and remember that deleting a letter entirely is allowed. Subscribers can read the complete problem and the model solution.
Coding QuestionsGoldman SachsCharacter Frequency in a String
2/5Master a fundamental string processing exercise frequently featured in screening rounds at Antra, focused on tallying the occurrences of individual characters within text. This challenge evaluates your capability to manipulate text data, handle case sensitivity, and maintain deterministic ordering based on initial appearance. It serves as an excellent warm-up for strengthening basic hash map usage and iteration techniques. Gain full access to the complete problem breakdown and optimal code solution with a subscription.
Coding QuestionsAntraUsing Stream API in Java
2/5This introductory programming exercise, featured in technical assessments at Antra, asks you to process a collection of text items to isolate those containing a specific substring and present them in alphabetical order. The challenge evaluates basic data filtering and sorting capabilities using modern functional programming paradigms or standard library utilities. Unlock the full problem specifications and the complete reference solution with a subscription.
Coding QuestionsAntraEncode Repeated Characters with Counts
3/5A coding question on shortening a list of characters by replacing each group of repeats with the character and how many times it occurs, including counts of ten or more.
Coding QuestionsGoldman SachsStr with Longest Len
3/5Find the longest piece of text that is both a leading and a trailing part of a string without being the whole of it. Asked at Microsoft, this is the classic prefix-function problem: the naive comparison of every candidate length is quadratic, while the failure table from string matching answers it in one pass. You will build that table, read the answer off its last entry, and handle a string with no such overlap at all. Subscribers get the complete problem and the model solution.
Coding QuestionsMicrosoftImplement a Log Stream Counter in React
2/5This Elastic interview challenge tests frontend state management and data aggregation by asking developers to build a React component that processes an incoming stream of categorical events. The task involves tracking occurrence counts and determining the most recent activity timestamp for each distinct category from chronological data. Participants must demonstrate proficiency in React hooks or state handling while presenting structured results clearly. To view the complete challenge requirements and a working reference implementation, a paid subscription is required.
Coding QuestionsElasticLongest Subsequence of X That Is a Substring of Y
3/5Combining string subsequences and contiguous matching constraints forms the core of many advanced text-processing assessments. Featured in a Salesforce technical screening, this problem challenges you to find the longest character sequence from one string that simultaneously exists as a contiguous segment inside another. The evaluation tests your proficiency with dynamic programming states and sequence alignment logic under strict performance bounds. Access the full problem walkthrough and model solution by securing a subscription today.
Coding QuestionsSalesforceSplit String by Spaces Unless '*' Appears
2/5Split a string on whitespace, unless it contains a particular marker character, in which case split on that marker instead and keep the spaces. This Microsoft question is a specification-following exercise where the two modes behave differently on purpose, and consecutive separators are discarded in both. You will detect the mode first, avoid emitting empty pieces, and handle a string made entirely of separators. The full problem and the reference solution require a subscription.
Coding QuestionsMicrosoftValid Mixed Case Letters
2/5Count the letters of a string that appear in both cases, with every lowercase occurrence positioned ahead of every uppercase one. This Microsoft question is a counting exercise with an ordering condition, and the condition is what makes a single pass interesting: you need the last lowercase position and the first uppercase position per letter. You will compare those positions per letter, require both cases to be present, and ignore letters that appear in only one case. A subscription unlocks the full problem and the model solution.
Coding QuestionsMicrosoftGenerate Email
2/5Turn a person's name and a domain into a tidy lowercase email address, coping with spaces and stray symbols in the name. This Roblox warm-up is specification work: which characters survive, what separates the name parts, and what happens when the name reduces to nothing. You will normalise case, collapse the separators consistently, and keep the domain untouched. The complete problem and the reference solution are available with a subscription.
Coding QuestionsRobloxFind occurrence and constraint
2/5Report every position where a chosen character appears in a string, except where the following position holds a particular marker. This Bloomberg warm-up is about reading the exclusion rule carefully and then implementing it in one pass with a safe look-ahead. You will avoid running past the end of the string, decide what happens at the final position, and state the complexity. The full problem and the reference solution require a subscription.
Coding QuestionsBloombergMin Num Letters
2/5Find the fewest letters to delete from a word so that what remains is in alphabetical order. This Microsoft question is the longest-non-decreasing-subsequence problem turned inside out: the answer is the word length minus that subsequence's length. You will choose between the quadratic table and the patience-sorting approach with binary search, and handle repeated letters without accidentally requiring strict increase. The complete problem and the reference solution are available to subscribers.
Coding QuestionsMicrosoftConvert Date Format
2/5Transform colloquial calendar date strings containing ordinal suffixes and abbreviated month names into a standardized numerical representation. This practical string manipulation challenge, reported during WeRide interviews, tests your proficiency with parsing rules, regular expressions, and date formatting logic. Access the full problem details, test vectors, and clean reference implementation with a subscription.
Coding QuestionsWeRideNo Pairs Allowed (Minimum Substitutions)
2/5This string-processing interview question, reported from Palantir technical screens, requires you to compute the minimum number of character alterations needed to eliminate any identical adjacent letters across a list of words. Developers must design a greedy or dynamic strategy that breaks consecutive identical runs with the fewest modifications possible. This puzzle tests your proficiency in string analysis, algorithmic optimization, and character iteration. To view the full problem statement, test cases, and a clean reference solution, a subscription is required.
Coding QuestionsPalantirSwap Parity — Largest Number
3/5Encountered in Palantir interview rounds, this problem tasks you with maximizing a numerical value by repeatedly swapping adjacent digits that share the same parity. You must determine the optimal sequence of allowed exchanges to achieve the largest possible arrangement. This question tests greedy strategies, sorting concepts, and state manipulation on large strings. Access the complete problem statement and professional solution code by purchasing a subscription.
Coding QuestionsPalantirCount Substrings Without Repeating Characters
3/5Count the contiguous substrings of a word that contain no repeated letter anywhere inside them. This NVIDIA question is the sliding-window pattern with a counting twist: each window position contributes a run of valid substrings at once, so the total accumulates as the window grows. You will shrink the window on a repeat rather than restarting it, add the window length per step, and handle a string of identical letters. A subscription unlocks the complete problem and the model solution.
Coding QuestionsNVIDIARemove Invalid Parentheses (Minimum Removal, Return All Valid Strings)
3/5Remove as few brackets as possible so that a string becomes balanced, and return every distinct result achieving that minimum. This Bloomberg question is where breadth-first search beats backtracking: exploring one removal at a time level by level means the first level with any valid string holds all of them. You will deduplicate aggressively, validate in a single pass, and leave non-bracket characters alone. The complete problem and the reference solution are available with a subscription.
Coding QuestionsBloombergValid Parentheses with Wildcard '*' and DFS All Strings
3/5Reported as a common interview challenge at ByteDance, this problem explores string validation and combinatorial generation with wildcard characters that can represent multiple grouping symbols or empty spaces. The initial task requires verifying overall structural correctness in linear time, while the follow-up asks you to enumerate every unique valid permutation using depth-first search techniques. It effectively tests your command over state tracking, backtracking, and duplicate elimination. Gain access to the full problem description, algorithmic breakdown, and reference code with a subscription.
Coding QuestionsByteDanceApply Document Edit Events (Line-based Insert/Delete)
3/5Encountered in ClickUp interviews, this task simulates text editing by applying sequential line-based insert and delete events to a multi-line document. You are tasked with correctly maintaining indices and updating the content dynamically in chronological order. This challenge tests your array manipulation efficiency and state management capabilities. Gain full access to the problem requirements and expert solution code through our subscription plan.
Coding QuestionsClickUpSecurity-Flavored Coding: Constrained Data Structure & Input Validation
4/5Tests whether you can build a capacity-limited structure and a strict string validator that stay safe under concurrent access and hostile input. Expect to defend your choices on thread safety, bounded memory and parser bypass risks.
Coding QuestionsRobinhoodText Justification — Print as Table
3/5This Airbnb interview challenge focuses on string formatting and layout arrangement, where candidates must transform a collection of text blocks into uniform, bordered table rows with strict boundary limits. The exercise evaluates text parsing abilities, handling word wrap constraints, avoiding orphaned punctuation, and formatting output cleanly. Programmers need to carefully manage spacing and constraints without splitting individual words across boundaries. Unlocking the complete exercise instructions along with an expert code solution requires a paid subscription.
Coding QuestionsAirbnbKeep the First Occurrence of Each Letter
2/5A coding question on cleaning a string of lowercase letters so that no letter repeats while the surviving letters stay in the order they first showed up. The learner returns the shortened string, which may be empty.
Coding QuestionsMicrosoftLongest Suffix-Prefix Overlap of Two Strings
3/5A coding question on comparing the end of one string with the start of another and returning the length of the longest match. It checks direction, repeated characters and empty inputs, and asks how to keep the running time linear for long inputs.
Coding QuestionsCrestaMinimum Insertions to Form Repeated abc Pattern
2/5This string manipulation problem, highlighted in IBM technical screenings, requires you to calculate the fewest character additions necessary to transform an arbitrary lowercase string into a repeating sequence of a specific pattern. You must preserve the relative order of the original characters without relying on deletion or replacement operations. The challenge tests your pattern-matching logic and sequential state tracking to count missing components accurately. To access the full problem details and comprehensive code solution, a subscription is required.
Coding QuestionsIBMTrie Implementation (Insert, Search, StartsWith)
3/5In this classic interview challenge reported from WeRide, you are asked to build a specialized prefix tree data structure capable of managing strings composed of lowercase alphabetical characters. The exercise evaluates your proficiency in implementing efficient node-based insertion routines alongside prefix-matching and exact-string retrieval operations under strict performance constraints. Access to the full problem description, edge-case tests, and an optimized reference solution is available exclusively with a paid subscription.
Coding QuestionsWeRideImplement Git Commit Layering
2/5This engineering assessment, featured in Figma hiring processes, requires candidates to manage a sequential history of version nodes, simulating core revision control behaviors. Developers must build routines capable of undoing recent changes by traversing backward through a linked list structure, as well as squashing multiple sequential modifications into a single unified node. The challenge evaluates pointer manipulation, list traversal, and state management skills. The full problem description, constraints, and professional model solution are locked behind a subscription.
Coding QuestionsFigmaLook-and-Say Sequence
2/5Delve into run-length encoding patterns with this sequence generation puzzle reported during Intuit screening interviews. This task tests your capability to transform strings iteratively by counting consecutive identical digits and building subsequent terms according to established mathematical progression rules. Unlock the complete problem specification, iterative strategies, and clean reference solution by purchasing a subscription.
Coding QuestionsIntuitMaximize Beautiful Substrings
4/5Presented during Fortinet technical evaluations, this string manipulation challenge invites you to fill in missing characters within a patterned text to maximize the creation of uniform contiguous segments. You must strategize how wildcard positions are resolved to achieve the highest possible density of identical adjacent characters. This puzzle examines advanced string processing, combinatorial thinking, and dynamic programming concepts. Unlock the complete problem breakdown and model solution by subscribing today.
Coding QuestionsFortinetString Manipulation (Remove Adjacent A-B or C-D Pairs)
3/5String reduction puzzles often appear in technical screens to evaluate your proficiency with sequential data processing and stack-based algorithms. This Zalando interview question requires you to repeatedly eliminate specific adjacent character combinations until no further reductions are possible, regardless of the sequence of operations. It tests your skill in managing dynamic string mutations and optimizing runtime efficiency. Unlocking the full problem description and optimal model solution requires a subscription.
Coding QuestionsZalandoGrouped Binary Substrings
2/5A string question about counting the substrings of a binary string that split into exactly two equal-length blocks of different characters. Solutions must stay fast on inputs of up to one hundred thousand characters.
Coding QuestionsJPMorganMarkdown Table of Contents
2/5Tackle a practical text parsing challenge commonly featured in JPMorgan assessments by building an automated document indexing tool. This exercise tests your proficiency in string manipulation and hierarchical data organization by requiring you to scan document lines and construct a properly nested table of contents based on specific heading indicators while filtering out irrelevant text. Mastering this problem enhances your ability to process structured text efficiently. Unlock the full problem description and verified model solution with a paid subscription.
Coding QuestionsJPMorganDelete-One-Character Positions
2/5Encountered during technical screenings at JPMorgan, this straightforward string manipulation problem asks you to identify every possible index whose removal from a source string yields a specific target string. Candidates must carefully handle cases involving duplicate characters to ensure all valid transformation points are correctly reported. This exercise evaluates fundamental string traversal skills and attention to edge cases. To view the complete problem statement and clean code solution, subscribe today.
Coding QuestionsJPMorganMinimum Anagram Edits
2/5This JPMorgan interview question challenges you to determine the minimum character modifications necessary to transform one text sequence into an anagram of another. It evaluates your string manipulation skills, frequency counting techniques, and ability to handle variations such as splitting numeric sequences into comparable halves. You must design an efficient approach to compute the edit distance based on character frequencies. Review the full problem breakdown and expert-crafted solution with an active subscription.
Coding QuestionsJPMorganIn-Memory BIN Prefix Database with Trust-Aware Field Merging
4/5This intricate systems-design and data-structure challenge, reported from Square interviews, requires building an in-memory prefix lookup engine with hierarchical trust resolution. You must handle concurrent write semantics, data source overrides, and priority-based field merging for payment card identifiers. It examines your ability to design custom trie structures and apply complex business rules efficiently in memory. Access to the full problem description and the complete model solution requires a subscription.
Coding QuestionsSquareString Transformation Length
3/5This MathWorks coding challenge explores string manipulation and sequence scaling over multiple generation rounds. You are tasked with determining the final length of a text after applying a deterministic alphabet shift repeatedly, where specific characters expand into multiple new letters. The puzzle evaluates your skill in recognizing exponential growth patterns and utilizing recurrence or dynamic programming to avoid time-out errors. Unlocking the complete problem description and optimal source code requires an active subscription.
Coding QuestionsMathWorksProgressive In-Memory File System with TTL
3/5Reported as a Persona coding challenge, this task requires designing a structured memory storage system capable of managing hierarchical data fields. Candidates must implement core insertion, retrieval, and removal mechanisms while handling sequential instructions accurately. The exercise examines state management and efficient data organization under specific operational constraints. Unlock the comprehensive problem description and optimal source code by securing a subscription.
Coding QuestionsPersonaLongest Vowel Subsequence in Order
3/5Sourced from a UiPath technical interview, this string-processing challenge asks you to find the longest valid subsequence containing all five lowercase vowels in strict alphabetical order. You must iterate through the given text while ensuring that no vowel appears out of sequence, maintaining the required progression from the first vowel to the last. This problem evaluates your dynamic programming acumen, state tracking abilities, and string parsing efficiency. The complete problem statement, edge cases, and model solution are available exclusively with a paid subscription.
Coding QuestionsUiPathValidate Non-Nesting Parentheses with Content Rules
3/5Encountered in Lenovo technical rounds, this coding challenge tests your string parsing and validation skills by requiring you to verify specific structural constraints on enclosing characters like brackets and parentheses. You must ensure proper closure, prohibit identical types from nesting within each other, and mandate that non-empty content exists inside every pair. Discover the full problem statement and optimal algorithmic solution with a subscription.
Coding QuestionsLenovoUnique Digits in Range
2/5Featured in Agoda interviews, this algorithmic puzzle requires counting integers within a given numerical interval that contain exclusively distinct digits. It evaluates your digit manipulation techniques and efficiency in handling range-based queries. Unlock the full challenge details and clean implementation by subscribing.
Coding QuestionsAgodaReplace Digit
3/5Raise a long number as high as possible by replacing exactly a given number of its digits with a fixed larger digit. This Microsoft question is greedy with a catch in the wording: the move count is exact rather than a maximum, so you may be forced to spend changes that do not help. You will replace the leftmost improvable digits first, work out what to do when changes remain, and avoid touching digits that already match. A subscription unlocks the complete problem and the model solution.
Coding QuestionsMicrosoftPrint File System Blocks
2/5This Anchorage Digital coding exercise evaluates string formatting and data serialization by asking you to render a simplified block-based storage medium. Developers must process an array representing occupied and vacant memory segments and output a cleanly structured, visually connected textual representation of the entire system state. It serves as a great introductory warm-up for structural formatting tasks. To read the complete problem description and study the verified model solution, a paid subscription is required.
Coding QuestionsAnchorage DigitalUnaligned Dedupe
3/5Reported from a Rubrik coding interview, this storage optimization problem requires you to find the ideal block size that maximizes data deduplication savings across a collection of text strings. You must evaluate overlapping substrings and sliding window constraints to compute the highest possible character reduction efficiently. The puzzle tests your mastery of hashing, string manipulation, and optimization techniques. Get full access to the problem details and comprehensive solution with a subscription.
Coding QuestionsRubrikLast String Before It Becomes Empty Under Repeated Alphabetical Removals
3/5A coding question about a lowercase string that is trimmed in repeated passes, one letter at a time. You must report the text that remains just before it disappears, for inputs far too long to replay pass by pass.
Coding QuestionsFlexportOne-Move Balanced Parentheses
3/5This MathWorks coding challenge evaluates your ability to manipulate and validate sequences of grouping symbols efficiently. The problem tests your algorithmic thinking regarding string transformations, requiring you to determine whether a given text of brackets is already properly matched or can achieve correct balance by relocating at most a single element. You will need to design an optimized approach to handle structural checks without brute-forcing every potential shift. Access to the complete problem description, architectural breakdown, and expert model solution requires a subscription.
Coding QuestionsMathWorksSimple TypeScript Program
2/5Map a list of strings to a list holding the length of each one, written in a typed dialect of JavaScript. This Snowflake warm-up takes one line and is still asked, because it shows whether you type the signature properly and whether you reach for a mapping operation rather than an index loop. You will keep the input untouched, type both the parameter and the return value, and handle an empty list. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsSnowflakeCounterfeit Currency
3/5This Box string-processing question tests careful rule-by-rule validation of fixed and variable-width fields in an identifier, followed by integer-safe percentage arithmetic. Edge cases around length, letter case, numeric ranges and rounding decide the result.
Coding QuestionsBoxWord Dictionary with Add and Exact Search
3/5A coding question on a small data-structure class that stores words and answers lookups quickly even when many words begin alike. A follow-up asks a related question about word beginnings.
Coding QuestionsCoupangSegment a String into Vocabulary Words
3/5A coding question about deciding whether a lowercase string can be cut entirely into pieces that each appear in a supplied word list, with words allowed to repeat.
Coding QuestionsCompassString Replacement Using Dictionary
2/5Featured in a CrowdStrike interview, this task assesses your string processing capabilities by asking you to substitute specific template markers within text using values provided in a lookup collection. You will need to implement a clean, efficient replacement function that correctly identifies tags and injects the corresponding data without complex error handling overhead. Reviewing the full problem requirements, test cases, and optimal code implementation requires a subscription.
Coding QuestionsCrowdStrikeTotal Length of Words Buildable from a Letter Supply
2/5A coding question on checking which words in a list can be spelled from a limited collection of letter tiles, where a tile may be used only once per word. The answer is the combined length of the words that work.
Coding QuestionsTabaPayCount Difference in Uppercase and Lowercase Letters
2/5This beginner-friendly programming challenge, featured in technical rounds at eBay, requires candidates to analyze a collection of characters and compute the numerical discrepancy between upper and lower case alphabets. It serves as a practical exercise for testing string manipulation capabilities and fundamental built-in inspection utilities within your chosen programming language. You will need to write clean logic that iterates through the collection, tallies the respective character cases, and evaluates the final mathematical difference. Unlock the full problem statement, test suites, and optimal solution by upgrading to a paid subscription.
Coding QuestionseBaySearch Book Titles by Keyword with Autocomplete and Simple Autocorrect (Anagram-based)
3/5Build a robust text retrieval engine in this coding challenge sourced from Enigma Technologies. The exercise requires matching user queries against a catalog of book titles using flexible criteria, including substring containment, token prefixes, and basic error-tolerant matching. It measures your string manipulation prowess and ability to design responsive search features. Access the full problem specifications and clean, tested solution code by subscribing today.
Coding QuestionsEnigma TechnologiesTop 3 Trending Hashtags in a Time Window
3/5Tackle a practical data stream analysis problem frequently encountered in interviews with F5 Networks. Given a collection of messages and associated timestamps, your goal is to extract and rank the most frequently occurring hashtags within a designated sliding time window. This challenge assesses your proficiency in string parsing, temporal filtering, and efficient frequency counting. Reviewing the complete problem context and optimal algorithmic solution requires a subscription.
Coding QuestionsF5 NetworksWordle Game in React
3/5Build a fully interactive Wordle browser game using React, a common frontend frontend interview task seen at EvenUp. This exercise requires managing complex application states, handling asynchronous API verifications for user guesses, and dynamically updating UI components with color-coded feedback based on character accuracy and placement. It thoroughly evaluates your component architecture and state management expertise. Gain access to the complete project requirements, boilerplate setup, and complete reference solution with a subscription.
Coding QuestionsEvenUpEarliest Coordinate Reach with Optional Moves
3/5An IBM coding question about the earliest time a target point becomes reachable when each scheduled move on a grid may be taken or skipped. It tests reasoning about independent axes, prefix counting and turning a search problem into a linear scan.
Coding QuestionsIBMLongest Common String Among Words
3/5This Fidelity interview question requires you to analyze a collection of text strings and determine the longest contiguous segment shared identically across all elements. It evaluates your proficiency in string manipulation, sliding windows, or suffix structures. To view the complete problem details alongside a robust, tested implementation, a subscription is required.
Coding QuestionsFidelityGood Binary Strings
4/5This BNP Paribas interview challenge requires examining specific characteristics of binary sequences based on balance and prefix constraints. Candidates are tested on their ability to manipulate strings and evaluate structural validity efficiently. The task evaluates foundational algorithmic thinking and combinatorial reasoning. Access to the complete problem breakdown and the optimized reference solution requires an active subscription.
Coding QuestionsBNP ParibasGenerate Parentheses
3/5Practice this popular interview question reported at Disney, where you must systematically construct all well-formed sequences of paired symbols for a given count. The objective is to generate combinations that adhere strictly to nesting rules and maintain proper balance from start to finish. This problem is excellent for building recursion and backtracking skills. The complete problem guide and reference solution require a active subscription.
Coding QuestionsDisneyReverse Each Line in a File and Write to Another File
2/5Solve a practical file processing task frequently featured in Fortinet coding screenings. This exercise requires you to write clean, idiomatic Python code that reads text from a designated source, processes individual lines by reversing their character sequences, and outputs the transformed data to a new destination. It tests your fundamental file I/O handling, string manipulation skills, and script reliability under standard constraints. Access the complete problem description and professional solution scripts with a subscription.
Coding QuestionsFortinetShooting Game Update and C Substring Replacement Function
3/5Reported as an interview question from Fortinet, this two-part coding assessment evaluates both legacy code refactoring and low-level string manipulation. The first portion asks you to adapt existing game logic to new rule sets, while the second requires implementing a custom substring replacement routine from scratch in C. It tests your code comprehension, pointer manipulation, and memory management abilities. Access the complete problem details and professional solution by subscribing.
Coding QuestionsFortinetIn-Memory File Store with Unique Names and Sequential IDs
3/5A coding question on designing a small in-memory service that stores named blobs of data. You decide how identifiers are issued, how clashing names are resolved, and what happens after removals, while keeping lookups and listings consistent.
Coding QuestionsCrestaLargest Value of Usage in Minutes
2/5Parse fixed-format device usage records and report which device accumulated the most minutes. This Roblox question is string handling with a tidy specification: the identifier is always five letters and the duration always four digits, possibly padded with leading zeros. You will split each record reliably, convert the padded number correctly, accumulate per device, and resolve a tie the way the statement requires. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsRobloxImplement BPE Tokenizer
4/5Featured in technical screenings at Glean, this advanced machine learning fundamentals problem requires you to build a simplified subword tokenizer from scratch. You will implement training logic that iteratively merges frequent character pairs based on statistical frequency thresholds, alongside encoding and decoding capabilities for text transformation. This challenge thoroughly examines your proficiency in data manipulation and algorithmic efficiency within natural language processing pipelines. The full problem and model solution require a subscription.
ML Fundamentals & AlgorithmsGleanParse String to Integer Without Built-ins
3/5Convert text into a signed 32-bit integer by hand, rejecting anything that does not conform and refusing to use the language's own conversion helpers. This Netflix question is a specification-reading exercise: the sign rules, the treatment of surrounding characters, and the overflow boundary are all stated precisely and all easy to get subtly wrong. You will detect overflow before it happens rather than after, and raise an error instead of guessing on malformed input. The full problem and the reference parser require a subscription.
Coding QuestionsNetflixLog File API Statistics
3/5This reported interview question from Gusto evaluates your ability to process and analyze server log files. You will need to parse unstructured text records, handle dynamic user identifier wildcards within route paths, and aggregate specific request metrics efficiently. The challenge tests string manipulation, regular expression matching, and hash map aggregation techniques under realistic backend scenarios. To view the complete problem statement, comprehensive test cases, and a fully functional model solution, a paid subscription is required.
Coding QuestionsGustoLive Fraud Detector: Count Distinct PII Values in Underwriting Events
3/5Consume a stream of structured events and keep a running count of the distinct personal-data values seen, counting only the event type that matters. This Affirm question is about reading the specification exactly: the other event type must be ignored, and distinctness is across the whole stream rather than per event. You will parse each record defensively, maintain a set of values, and decide what to do with an event missing the field entirely. The complete problem and the reference consumer are available to subscribers.
Coding QuestionsAffirmCalculate Time Difference in HH-MM Format
2/5This HackerRank interview question challenges candidates to compute the shortest forward time gap between a given reference point and a collection of daily timestamps. This problem evaluates your ability to handle cyclic time calculations, manage minute-level conversions, and properly format the resulting duration. Access to the complete problem description and expert model solution requires an active subscription.
Coding QuestionsHackerRankRemove Adjacent Duplicates in String (k=3 then general k)
3/5This Attentive interview question explores text manipulation by requiring candidates to repeatedly eliminate consecutive repeating character sequences of a specified length. As characters disappear, newly formed adjacent duplicates must also be collapsed until the text reaches a stable state. The problem evaluates your mastery of stack-based data structures and algorithmic efficiency for string processing tasks. Unlock the full problem details and a comprehensive expert solution by getting a subscription.
Coding QuestionsAttentiveCatch Speeders from Toll Logs
3/5This Headway interview challenge requires analyzing chronological transit logs to identify speeding violations across highway segments. You will track vehicle journeys through entry, intermediate, and exit toll checkpoints, calculating average velocities based on distance and timestamps. The problem tests your proficiency in event-driven data processing, time-interval calculations, and state management. Access to the complete problem description and an optimal model solution requires a subscription.
Coding QuestionsHeadwayAnnotate substrings in a paragraph with pronunciation XML tags
3/5In this HeyGen interview question, you are tasked with scanning a text block and wrapping specific glossary terms with custom pronunciation tags while strictly preserving the original text sequence and handling overlapping matches. This string manipulation exercise evaluates your proficiency in text processing, pattern matching edge cases, and robust parsing logic. To view the complete prompt details and study the reference code implementation, a paid subscription is needed.
Coding QuestionsHeyGenFixed-Width Text Justification
4/5A coding question on laying out words into fixed-width lines of text. You must align each line to the same width and handle the final line and one-word lines as special cases.
Coding QuestionsSoFiOne-edit string transform with operation output (add/move/replace/delete)
3/5Asked during interviews at Jerry, this string manipulation puzzle challenges you to figure out if one piece of text can be converted into another using exactly one modification, insertion, deletion, or relocation maneuver. The task tests your attention to detail and ability to systematically check multiple character transformation rules. Unlock the full problem definition and reference solution with a paid subscription.
Coding QuestionsJerryReformat Table Data
3/5Reported from a Kanerai interview, this practical coding exercise requires you to dynamically parse and restructure tabular data. You must shift columns while preserving data integrity and handling whitespace variations within text fields robustly for future modifications. The task evaluates your data wrangling capabilities and script flexibility when dealing with unstructured or semi-formatted records. Upgrade your account to view the full problem statement and clean code solution.
Coding QuestionsKaneraiEncrypt a String Using a Key (Simple Symmetric Cipher)
2/5In this Axon interview task, you are asked to implement a fundamental symmetric encryption scheme using repeating key sequences and bitwise manipulation. The exercise requires transforming plaintext characters through cyclical byte-wise XOR operations against a secret password and formatting the resulting encrypted data into hexadecimal representation. It is a great test of bitwise arithmetic, string manipulation, and modular indexing fundamentals. View the complete problem parameters and the reference implementation by getting a subscription.
Coding QuestionsAxonReceipt Processor Challenge
2/5This Fetch Rewards coding exercise asks you to build a small utility that reads structured purchase records and turns them into loyalty scores. It tests careful parsing of string-encoded amounts, character-level string checks and clean per-record aggregation, where most bugs come from edge cases rather than algorithms.
Coding QuestionsFetch RewardsFlatten Parentheses in a Plus-Minus Expression
3/5A coding question on rewriting an arithmetic expression of single-letter variables, signs and nested brackets into an equivalent flat form. Getting the sign of every variable right at any depth is the core, and very deep nesting rules out naive recursion.
Coding QuestionsOracleFormat an Integer with Thousands Separators
2/5A coding question on writing an integer with a comma after every three digits, counted from the right, with negative numbers and arbitrarily large values handled. The grouping has to be built by hand rather than with a formatting built-in.
Coding QuestionsHudson River TradingImplement a Text Editor
3/5Presented during technical rounds at Rokt, this challenge asks you to build a functional text editing system capable of handling insertions, deletions, reversals, and state snapshots. The evaluation centers on your choice of underlying data structures to maintain high performance across multiple interactive commands, particularly when managing history and state restoration. Crafting a robust solution demands careful consideration of memory and time efficiency. The full problem and model solution require a subscription.
Coding QuestionsRoktStamping The Sequence
4/5Asked during a Nuro interview, this problem challenges you to reconstruct the exact sequence of stamping operations needed to transform a blank placeholder string into a target pattern. You must work backward from the final state, systematically uncovering valid stamp placements until the initial configuration is fully restored. This puzzle tests your aptitude for reverse-engineering complex transformations and greedy problem-solving techniques. Access to the comprehensive problem statement and verified solution requires a subscription.
Coding QuestionsNuroShortest Substring to Delete for Distinct Characters
3/5A coding question on deleting one contiguous block from a lowercase string so the characters that remain are all different. It asks for the shortest such block.
Coding QuestionsOracleParse Logs and Count Error Codes
2/5This Nuro coding challenge focuses on data processing from structured log entries. You are provided with a collection of log lines, each formatted to contain various pieces of information separated by commas. The primary objective is to accurately extract a specific data point—the error code—from each line. After extraction, you must tally the occurrences of every unique error code found. Finally, the aggregated counts should be presented as a sorted list of pairs, where each pair consists of an error code and its total frequency. This problem tests string manipulation, data aggregation, and sorting skills. The full problem description and a model solution are available with a subscription.
Coding QuestionsNuroLLM-Oriented String Processing (Phone Screen)
3/5Clean up a raw multi-line transcript and turn it into structured turns, applying a fixed sequence of text rules before any parsing happens. Reported in an Anthropic phone screen, this question rewards following the specification in the stated order, because reordering two of the cleanup steps changes the output. You will strip internal markers, normalise whitespace, drop blank lines, and decide what to do with a line that has no recognisable speaker. Subscribers can read the complete problem and the reference pipeline.
Coding QuestionsAnthropicRestore IP Addresses
3/5Tackling string parsing and combinatorial generation is the focus of this classic backtracking problem, noted from recent candidate experiences at OKX. Given a continuous string of numeric digits, your objective is to find every viable combination that forms a legitimate Internet Protocol address by placing separators correctly. This puzzle tests your recursive thinking, boundary condition checks, and string manipulation capabilities. Gain immediate access to the full problem text, test cases, and a comprehensive solution by upgrading to a paid subscription.
Coding QuestionsOKXEvaluate a Basic Arithmetic Expression (Calculator II)
3/5Reported as a standard technical assessment at Otter.ai, this problem requires you to parse and compute mathematical expressions adhering to standard operator precedence rules without parentheses. You will need to handle sequential operations, integer division truncation, and whitespace management efficiently within strict time limits. This challenge tests your mastery of stack-based parsing algorithms and string manipulation techniques. To view the comprehensive problem text and fully articulated code solution, a subscription is required.
Coding QuestionsOtter.aiEfficient Text Search with Proximity Constraint
3/5This advanced string manipulation task, frequently encountered in interview loops at Palantir, challenges you to build a rapid text retrieval system that respects distance limitations between specific words. The problem evaluates your understanding of indexing strategies and efficient pattern matching over large textual inputs. To review the complete problem statement, requirements, and the reference model solution, a paid subscription is required.
Coding QuestionsPalantirMovie History Friends: Exact and Fuzzy Last-k Match
3/5A coding question about matching customers by their most recent viewing activity. It asks for an exact, order-sensitive match first and then a looser overlap rule, with attention to short histories, repeated titles and output order at scale.
Coding QuestionsNetflixContent Safety Filter
3/5This text moderation challenge, reported from recruitment loops at Whatnot, tests string manipulation and pattern-matching capabilities. You are tasked with analyzing a stream of user submissions to filter out communications containing prohibited terms or phrases under specific formatting constraints. The exercise examines your ability to handle case-insensitive comparisons and token boundaries effectively without altering unintended parts of the input. Discover the full problem statement and explore a thoroughly tested model solution with a paid subscription.
Coding QuestionsWhatnotCommand Line Arguments Parser
3/5Design a robust command-line parsing utility that handles argument flags, short-hand aliases, grouped parameters, and automated help generation, as featured in Samsara interviews. This practical systems-level coding question tests your object-oriented design patterns, string tokenization logic, and state management within custom parsers. You will learn how to structure extensible classes that cleanly map command-line inputs to structured data dictionaries while gracefully handling user instructions. Enhance your practical utility coding skills for real-world software engineering tasks. The full problem and model solution require a subscription.
Coding QuestionsSamsaraLexicographically Smallest String With Minimum Replacements
4/5This ServiceNow interview puzzle challenges you to transform a given sequence of characters into a non-decreasing order while performing the fewest possible substitutions, selecting the lexicographically smallest result among ties. It tests your advanced string manipulation abilities, greedy decision-making, and dynamic programming insight to handle complex transformation constraints efficiently. Crafting an optimal strategy requires balancing multiple conditions to achieve the lowest possible lexicographical profile. To view the complete problem details and the expert model solution, a subscription is required.
Coding QuestionsServiceNowSingle-Pass S-Expression Parser with Error Positions
3/5Build a hand-written parser for a Lisp-like syntax of numbers, names and nested parentheses, scanning the text once. The hard part is precise error reporting: which mistake is found first, and at which index. A last stage pushes nesting far past the interpreter's recursion limit.
Coding QuestionsBasetenCommon User Across Two Days With Different Visited URLs
2/5This coding interview question from Sumo Logic challenges you to analyze multi-day web browsing activity to find behavioral overlap among users. The goal is to identify whether any individual appears across distinct daily logs while exhibiting variation in their navigation choices. It evaluates your competency in data aggregation, set operations, and efficient record matching across multiple datasets. Access to the complete problem text, sample datasets, and verified code solution requires an active subscription.
Coding QuestionsSumo LogicString to Integer (atoi)
3/5Mastering character parsing and numeric conversion is essential for handling raw text data reliably in backend systems. This popular Netflix coding challenge evaluates your ability to process textual input sequentially, handle signs and whitespace correctly, and gracefully manage numeric overflow boundaries without crashing. You will need to carefully structure your conditional checks to handle edge cases smoothly. Unlock the complete problem breakdown and optimal reference solution by securing a subscription today.
Coding QuestionsNetflixNarrative Words
2/5Practice a text analysis challenge that requires identifying text segments containing frequently repeated characters within a sentence, featured in coding interviews at The Trade Desk. This problem tests your string iteration efficiency, frequency counting mechanics, and handling of case-insensitivity rules. It is an excellent drill for strengthening core programming fundamentals and clean code practices. Access the full problem details and expert solution by securing a paid subscription.
Coding QuestionsThe Trade DeskRomanizer
2/5This common interview task from BNP Paribas challenges software engineers to transform standard numerical values into their traditional Roman numeral counterparts. Participants must process a collection of integers and correctly map them following historical notation rules, handling subtractive combinations and repetitive symbols accurately. The exercise tests foundational algorithm design, looping mechanics, and conditional logic handling. The full problem statement, test suites, and optimized code solutions are available exclusively to subscribers.
Coding QuestionsBNP ParibasFind Words Occurring More Than K Times
3/5Encountered in a QRT interview, this challenge requires identifying words that surpass a specific frequency threshold within a text string and presenting them ordered by their initial appearance. The core objective is to design a linear-time algorithm that efficiently tallies occurrences while preserving chronological sequence order. This problem effectively tests your proficiency with hash maps, frequency tracking, and stable sorting techniques. Review the full problem statement and optimal algorithmic solution by purchasing a subscription.
Coding QuestionsQRTMinimum Adjacent Swaps to Transform One String into Another
3/5This algorithmic puzzle, commonly encountered in technical interviews at Verily, challenges you to determine the fewest adjacent character movements needed to transform one permutation into another. The exercise assesses your understanding of string manipulation, inversions, and optimization techniques within sequence transformations. Reviewing the complete problem statement, edge cases, and optimal code implementation requires an active subscription.
Coding QuestionsVerilyCount Distinct Movement Subsequences on a Number Line
4/5This advanced algorithmic problem, frequently encountered in Visa technical screenings, explores counting valid directional sequences on a bounded integer track. Candidates must compute how many unique movement combinations successfully navigate from an origin to a destination without crossing boundary limits. The task thoroughly evaluates combinatorial logic, string processing, and dynamic programming or backtracking optimization. Unlocking the complete problem specification and its rigorous model solution requires an active subscription.
Coding QuestionsVisaBinary String Synchronous '01' -> '10' Replacement
3/5A coding question about a binary string in which every zero-one pair flips to one-zero at the same moment, once per second. The learner reports how many seconds pass before the string stops changing, including strings that are already stable and long runs of ones that wait on each other.
Coding QuestionsSalesforceTrie Search Auto Completion
3/5This practical data structure exercise, encountered in Coursera technical rounds, focuses on building an efficient prefix tree to handle dictionary lookups and predictive text features. Alongside standard insertion and traversal operations, it specifically tests your awareness of object-oriented programming pitfalls, such as avoiding shared mutable state across class instances in Python. Developers must construct a clean, scalable taxonomy handler while preserving lexicographical ordering. The full problem specification and reference implementation are available exclusively to subscribers.
Coding QuestionsCourseraCSV Keyword Line and Position Matching
2/5Tackle this practical string manipulation challenge featured in Warner Bros. Discovery interviews, designed to test your text-parsing capabilities. You will be asked to scan a structured comma-separated values document to locate all occurrences of a specific search term, returning both the corresponding line numbers and exact character indices. This problem examines your proficiency with indexing rules, data formatting, and efficient substring searching techniques. Gain full access to the comprehensive problem statement and verified code solution with a subscription.
Coding QuestionsWarner Bros. DiscoveryWeave Two Strings Alternately
2/5A coding question on interleaving two strings character by character and keeping whatever is left over.
Coding QuestionsWalmart LabsLongest String Without AAA or BBB
3/5This Zalando interview question tasks you with constructing the longest possible text sequence using specific building blocks while strictly avoiding consecutive repetition limits. You must strategically interleave available segments to maximize length without triggering forbidden substring conditions. The challenge evaluates your greedy algorithm design and state management capabilities under tight constraints. Unlock the comprehensive walkthrough and optimal code solution with a subscription.
Coding QuestionsZalandoNearest Marker Distance for Every Position
2/5A string question: for each position, find how far away the closest copy of a given character is, handling the case where it never appears. A discussion follow-up asks how the answer changes when the characters arrive as a stream.
Coding QuestionsSnowflakeTrie-Based Autocomplete
3/5Reported during Oracle interviews, this problem asks you to build a robust predictive text lookup service using a dictionary dataset and prefix queries. Beyond basic retrieval, the evaluation heavily emphasizes clean architecture, requiring a strict separation of concerns between the underlying tree structure and the service logic, with potential follow-ups involving frequency-based ranking. It tests both your data structure design skills and your commitment to maintainable code. The full problem and model solution require a subscription.
Coding QuestionsOracleWord Ladder: Shortest Transformation Sequence
4/5A coding question on determining how many words, including the starting and target endpoints, belong to the shortest permitted chain, with zero for an unreachable target.
Coding QuestionsByteDanceJavaScript Proficiency Assessment
3/5Test your compiler design and language parsing skills with this Zoox interview challenge centered on validating raw source code syntax. This problem assesses your ability to analyze text streams, understand grammar rules, and build robust parsers without execution engines. You will improve your text-processing techniques and error-detection logic for scripting languages. Access the complete problem statement and verified solution by securing a subscription.
Coding QuestionsZooxStack-Based String Evaluator (PUSH/POP/DUP/+/-)
3/5This interview question, reported from Jump, asks you to build a parser that processes a sequence of arithmetic operations and memory manipulation commands using a Last-In-First-Out data structure. It assesses your competency in handling tokenized streams, managing data structures safely, and detecting execution errors like underflows or invalid instructions. You will need to write robust parsing logic that accurately tracks state transitions. Get access to the full problem details and a thoroughly explained model solution with a subscription.
Coding QuestionsJumpValid Parentheses
2/5Reported as a screening question from C3.ai, this fundamental parsing challenge asks you to verify whether a given string of mixed brackets is properly nested and closed in the correct order. It serves as a benchmark test for evaluating your proficiency with stack data structures and linear time validation logic. Perfecting this pattern is a crucial milestone for tackling more intricate syntax analysis and compilation tasks in future interviews. The full problem text and validated reference implementation are available to subscribers.
Coding QuestionsC3.aiHash Function Collision Pairs
3/5This interview challenge, recently reported at Wells Fargo, evaluates your ability to process text sequences and compute custom mathematical values efficiently. Candidates must analyze collections of text strings, apply a specific weighted character-sum formula, and identify matching hash outputs across labeled pairs. This exercise tests fundamental string manipulation and arithmetic aggregation skills within a concise algorithmic framework. To access the complete problem description, comprehensive test cases, and a verified model solution, a paid subscription is required.
Coding QuestionsWells FargoNested Pattern String Expansion
3/5A coding question on expanding a compact text format in which a group of text carries a repeat count and groups may sit inside other groups. Multi-digit counts, ignored spaces and deep nesting must all come out right.
Coding QuestionsCiscoSimilar Restaurant Names Within k Swaps
4/5A coding question on deciding whether one restaurant name can be turned into another within a given budget of character swaps. It covers names of different lengths, names with different letters, names with repeated letters, and the exact budget at which the answer changes.
Coding QuestionsDoorDashValidate IPv4 Address Format with No Leading Zeros
2/5Encountered during Credit Karma technical screenings, this validation problem tests your ability to inspect strings and verify compliance with standard IPv4 numerical and formatting constraints, particularly rejecting improper leading zeros. The question evaluates rigorous string parsing and conditional logic handling. Polishing this skill helps build robust input validation routines for production applications. Access the complete problem specification and reference implementation by securing a paid subscription.
Coding QuestionsCredit KarmaDot-and-Star Pattern Matching
4/5A coding question on writing a matcher for patterns with a single-character wildcard and a repeat symbol, where the pattern has to describe the entire string. It tests careful case analysis, empty strings and partial-match traps, all without a regular-expression library.
Coding QuestionsCitadelCount Complete Journeys in a Toll Log
2/5Featured in Headway technical interviews, this problem requires you to parse and analyze sequential log files to track vehicular transit data. You will need to process time-stamped records containing various checkpoint markers to accurately identify and count valid end-to-end journeys. This challenge tests your file-parsing proficiency, state tracking logic, and ability to handle large datasets efficiently. Gain access to the comprehensive problem statement and optimal solution by purchasing a subscription.
Coding QuestionsHeadwayMinimum Insertions / Deletions Password Update
3/5A coding question about turning one password string into another when the only allowed edits are adding or removing a single character, and reporting the smallest number of such edits.
Coding QuestionsCiscoLog Parser with Multi-Line Follow-up
3/5This log processing challenge, reported from Oracle interviews, tests a candidate's ability to ingest continuous text streams, parse structured data entries based on timestamps and severity levels, and validate formatting rules. A key follow-up introduces multiline log entries that must be correctly aggregated and associated with their parent record. The task evaluates string manipulation, parsing logic, and edge-case handling. Gain access to the full problem breakdown and expert solution by purchasing a subscription.
Coding QuestionsOracleLeft-to-Right Expression Operators
3/5Given a string of digits and a target number, list every way to place plus, minus and times signs between the digits so the expression equals the target. Evaluation ignores normal operator priority, and operands may not carry leading zeros.
Coding QuestionsPinterestFile Profiler
2/5Write a small utility that reports the shape of a text file: how many lines, how many words, how often one chosen word appears, and how many bytes it occupies. Asked at Anthropic, this question is about the cases around the edges rather than the counting itself, and the test cases you volunteer are the answer. You will handle an empty file, a file with no trailing newline, and an input too large to hold in memory at once. The full problem and the model solution require a subscription.
Coding QuestionsAnthropicNewline-Split Stream Reader
3/5Reported from a Pinterest coding round, this problem requires wrapping a chunk-based data stream reader to emit clean, newline-delimited lines. Since incoming chunks can arbitrarily split text across line breaks or end mid-word, your wrapper must buffer partial content and correctly reconstruct complete strings sequentially. The task evaluates stream processing, state management, and edge-case handling for string manipulation. Get a subscription to view the full prompt details and a verified model implementation.
Coding QuestionsPinterestGet Substring
3/5This interview scenario, featured in hiring processes at Wells Fargo, challenges you to locate a specialized segment inside a binary sequence containing a precise count of specific characters while prioritizing minimal length and lexicographical precedence. The problem examines your proficiency in string manipulation, sliding window algorithms, and custom sorting or filtering criteria. Successfully solving this exercise enhances your ability to balance multiple optimization constraints simultaneously on text data. Unlock the complete problem text, corner cases, and an expert-written model solution with an active subscription.
Coding QuestionsWells FargoText Editor with Cursor Movement
3/5A coding question on modelling a text-editing buffer with a cursor. You support inserting and deleting characters, then extend the design so the cursor can move left, right, up and down across lines of different lengths. It tests choosing a representation that keeps those moves simple and handling every boundary cleanly.
Coding QuestionsDatologyAIMaximum Palindromes After Cross-String Swaps
3/5Explore advanced string manipulation and global character redistribution through this intriguing interview problem reported at IBM. The challenge evaluates your analytical thinking regarding character frequency distribution, symmetry conditions, and how global swaps can maximize symmetrical outcomes across an array of texts. You will develop a deeper intuition for combinatorial reasoning and state transformation in string processing. The complete problem statement, mathematical insights, and model solution require an active subscription.
Coding QuestionsIBMFlatten Nested JSON / HashMap to String
3/5This technical coding challenge commonly seen at Salesforce examines your ability to manipulate hierarchical structures using recursion or iterative traversal. You are asked to transform a deeply nested associative structure into a single-level layout utilizing dot-separated keys for leaf elements. This tests your proficiency in handling diverse data types, managing recursive base cases, and restructuring complex information cleanly. Unlock the full problem details and optimal algorithmic solution with our comprehensive subscription.
Coding QuestionsSalesforceImplement round() From String + Round-to-Precision
3/5This string manipulation and arithmetic challenge, featured in Pinterest interviews, tests your ability to implement custom rounding logic directly on text representations of numbers without converting them to floating-point types. You will handle complex edge cases involving standard rounding rules and implement a precision-based rounding function using arbitrary scale strings. Unlock the full problem details and expert solution by subscribing to our platform.
Coding QuestionsPinterestCharacter Mapping
2/5In this Beaconfire interview question, engineers are tasked with transforming a sequence of lowercase letters into a numerical representation based on historical character appearances. The objective is to construct a new string where each character is replaced by the index of its very first sighting within the original text. This problem assesses your proficiency with hash maps, frequency tracking, and string manipulation techniques. To view the complete challenge details and the expert solution, please secure a subscription.
Coding QuestionsBeaconfireFilter Unsafe Phrases From User Messages (Trie)
3/5Highlighted in recruitment assessments at Whatnot, this exercise focuses on string processing and efficient pattern matching within user communications. Your objective is to examine incoming text streams and filter out any entries containing forbidden multi-word expressions as contiguous word sequences. Solving this efficiently demands advanced data structures like tries combined with careful text tokenization. Unlock the complete problem guide and expert-crafted solution by subscribing today.
Coding QuestionsWhatnotFilter Unsafe Words From User Messages
3/5This practical text-filtering puzzle, frequently asked in Whatnot technical interviews, challenges you to sanitize a collection of user-generated messages by removing any text containing forbidden vocabulary. The task requires careful handling of punctuation delimiters and whitespace splitting to ensure accurate word boundary matching across various message formats. It effectively examines your data cleaning techniques and string manipulation efficiency in real-world scenarios. Unlock the comprehensive problem description and verified solution with a subscription.
Coding QuestionsWhatnotEvaluate Arithmetic Expression with Precedence
3/5A parsing question about evaluating arithmetic strings with four operators and no parentheses. The learner must respect operator precedence and a specific rounding rule for division.
Coding QuestionsDoorDashCount Triple
2/5This ZipRecruiter interview question asks you to scan a text string and tally terms that contain at least one character repeating three or more times regardless of capitalization. The challenge tests your capability to iterate through textual data, parse individual tokens, and apply conditional counting logic efficiently. It serves as a great warm-up for fundamental string processing tasks. Unlock the full problem description and step-by-step code solution by upgrading to a subscription.
Coding QuestionsZipRecruiterCycle Shift
3/5Test your combinatorial reasoning with this numerical transformation puzzle reported from ZipRecruiter interviews. The objective asks you to count how many pairs of numbers within an array can be transformed into one another through cyclic digit rotations. This challenge evaluates your proficiency with string manipulations, mathematical normalization, and efficient pair-counting techniques. Access the complete problem specification, comprehensive test suite, and expert solution by subscribing today.
Coding QuestionsZipRecruiterPattern Matching with Question Mark and Dot Wildcards
3/5This eBay coding challenge asks you to implement a string matching algorithm. You are given a collection of words and a pattern that includes special characters: one for any single character and another for one or more arbitrary characters. The task is to identify all words from the provided list that completely conform to the given pattern. This problem assesses your ability to handle complex string comparisons and wildcard logic efficiently. The full problem description and a model solution are available with a subscription.
Coding QuestionseBayMerge Profiles by Shared Email
3/5A coding question on grouping user records that are linked by common contact details into single combined records. The output must list each person once, in a fixed order, with their contact details deduplicated and sorted.
Coding QuestionsElectronic ArtsMinimum Cost to Color a Row of Houses
3/5A coding question about assigning one of three options to each item in a line at minimum total price, where items that sit next to each other must receive different options.
Coding QuestionsShopifyImplement itoa for 32-bit Signed Integer
3/5This coding challenge, featured in interviews at Hudson River Trading, tests your ability to convert a numerical value into its textual base representation without relying on standard library functions. Candidates must carefully handle edge cases, negative signs, and extreme lower bounds typical of 32-bit integer limits. It thoroughly examines your low-level manipulation skills and logical precision. Access to the full problem statement and expert model solution requires a paid subscription.
Coding QuestionsHudson River TradingInstall Carbon Filters
3/5This coding challenge, frequently reported during interviews at Deloitte, requires you to complete a sequence of home purification devices while avoiding excessive clustering of identical equipment. You will need to determine a valid placement arrangement for two distinct device categories across a row of buildings containing pre-existing units and empty slots. This exercise evaluates your combinatorial reasoning, pattern matching, and constraint satisfaction abilities. Access to the complete problem description and expert-crafted model solution requires an active subscription.
Coding QuestionsDeloitteCount Prefix Pairs in List of Strings
3/5Discover how to efficiently find relationships within a collection of text terms, specifically counting how many string pairs share a prefix relationship in either direction. This algorithmic puzzle, commonly sourced from HackerRank challenges, tests your proficiency with string manipulation and hierarchical data structures like tries or sorted arrays to avoid sluggish nested loops. Building an optimal solution requires careful consideration of lexicographical ordering and duplicate handling to ensure high performance. Review the full problem statement and complete implementation code by acquiring a subscription.
Coding QuestionsHackerRankCredit Card Command Processing and Validation
3/5This practical validation and state management problem, reported from Chime interviews, requires building a robust transaction processing engine. Candidates must parse structured input commands, validate account identifiers against specific formatting rules, and maintain running balances for various financial operations. The task tests your ability to handle edge cases, error logging, and data integrity within a simulated banking environment. To view the complete requirements, test cases, and the verified model implementation, a subscription is required.
Coding QuestionsChimeAdd Two Strings with a Single-Digit Adder
2/5Tests adding two arbitrarily long numbers given as digit strings, handling unequal lengths and a final carry without using built-in big integers.
Coding QuestionsTwo SigmaFront-Padded Palindrome
4/5Given a lowercase string, build the shortest palindrome obtainable by adding characters only at the front. The challenge is deciding how much of the original text can stay untouched, including for very long inputs and the empty string.
Coding QuestionsRedditSplit Message Into Limited-Length Chunks With Indexed Suffix
3/5In this engaging string-formatting challenge reported during Faire interviews, you must divide a lengthy text into smaller segments adhering strictly to a maximum character length per line. Each resulting piece requires an appended numerical suffix indicating its sequence, which alters the available space dynamically. This problem assesses your string parsing logic, greedy allocation strategy, and edge-case handling for boundary conditions. The complete problem text and reference implementation are available exclusively to subscribers.
Coding QuestionsFaireSum Consecutive Identical Digits
2/5This coding challenge, frequently featured in PayPay technical interviews, tests your ability to manipulate strings and apply iterative reduction logic. Candidates must process a sequence of characters by repeatedly combining adjacent matching elements until no further reductions are possible. Success requires writing an efficient algorithm that correctly handles dynamic length changes and cascading updates. Access the complete problem description and an optimal model solution by securing a subscription today.
Coding QuestionsPayPayCalculate Change
2/5In this practical coding exercise reported from interviews at PayPay, you are tasked with determining the correct denominations of currency to return as change after a retail transaction. Candidates must compute the difference between given cash and product costs, then distribute standard bill and coin denominations while formatting the resulting items alphabetically. Reviewing the complete problem statement and the comprehensive model solution requires a paid subscription.
Coding QuestionsPayPayCalendar Day Gap
2/5A coding question about measuring the distance in days between two calendar dates, where month lengths vary and leap years follow the Gregorian rule. It tests careful handling of calendar edge cases.
Coding QuestionsOptiverDecode Morse Code to All Possible Original Strings
3/5Given a string of dots and dashes with no letter separators and a letter-to-Morse mapping, list every letter string that encodes to exactly that signal. Because letter codes can be prefixes of one another, a signal may decode several ways, or none.
Coding QuestionsOscar HealthFind Maximum Two-Digit Fragment
2/5Highlighted during PayPay technical interviews, this task requires you to examine a numeric string and extract the largest possible two-digit value formed by any contiguous slice of characters. The exercise assesses your ability to iterate through sequential data efficiently while performing numeric comparisons on sliding windows. Unlock the complete challenge details and clean code implementation with a paid subscription.
Coding QuestionsPayPayPalindromic Array Transformation
3/5This algorithmic puzzle from a PayPay interview challenges you to manipulate a collection of string elements through controlled character shifts across boundaries to achieve a symmetric array structure. The problem examines your proficiency with greedy transformations, array indexing, and state validation under strict operational rules. Explore the complete problem details, algorithmic insights, and the step-by-step model solution by securing a subscription.
Coding QuestionsPayPayElapsed Days Between Two Calendar Dates
2/5A coding question on finding how many days apart two dates written as year-month-day text are. The candidate must apply the calendar rules for varying month lengths and leap years, including century exceptions.
Coding QuestionsOptiverLongest Substring with Even Occurrences
3/5A coding question on finding the longest stretch of a lowercase string in which no letter appears an odd number of times. The input can be large, so the candidate should think about how to avoid checking every substring.
Coding QuestionsDeloitteEasy Encryption and Decryption
2/5This engaging programming challenge, reported during interviews at General Motors, requires candidates to build a robust text transformation utility. The task involves designing bidirectional routines that can securely scramble and restore strings using customizable shift offsets while gracefully managing letters, numbers, and symbols. It is an excellent exercise for practicing string manipulation, ASCII arithmetic, and validation logic. To explore the complete problem statement and view an optimized model solution, a paid subscription is required.
Coding QuestionsGeneral MotorsScore a Secret Number Guess
3/5A coding question on scoring a guess in a digit-guessing game: count the positions that match exactly and the digits that appear elsewhere, pairing each repeated digit at most once.
Coding QuestionsShopifyArray Left / Right Duplicate Check (Binary Strings)
2/5Featured as an initial problem in a Salesforce coding challenge, this task requires you to analyze an integer array and determine historical and future occurrences for each element. You will test your efficiency in scanning sequences and encoding presence flags into binary strings that indicate whether a value appears earlier or later in the collection. Unlock the full problem details, optimal linear-time approaches, and the complete model solution with a paid subscription.
Coding QuestionsSalesforceTwo Encoded Strings Describe the Same Original
4/5A string question on compressed text: letters stand for themselves and numbers stand for runs of unknown characters, with digit runs that can be read in several ways. The learner must decide whether two compressed strings could describe one original string.
Coding QuestionsSnowflakeCode Editor Folding with Brace Matching and Preserved Nested Fold State
3/5An object-design coding question about the collapse and expand feature of an editor for curly-brace code: pair up block boundaries, then keep the displayed text correct as blocks are toggled. It tests whether inner blocks remember being collapsed when an outer block is closed and reopened, and whether rendering stays linear.
Coding QuestionsJane StreetStack-Language Interpreter and Jump-Debugging Program Rewriter
3/5A coding question on a small stack language whose values are strings and whose programs can branch. You execute such programs, then rewrite them to print a debug value before each unconditional branch without changing the interpreter, keeping every branch destination correct after instructions shift.
Coding QuestionsJane StreetEqual Character Frequency (Remove-One Variant)
3/5A coding question on character counts: first check whether every letter in a string appears equally often, then whether removing a single character can make that true. The learner must handle the cases where a letter disappears or the string is already even.
Coding QuestionsBloombergIn-Place Run-Length Compression of a Character Array
3/5A coding question on shortening a list of characters by replacing repeated neighbours with a single character and a count, writing the result back into the same list and reporting its new length.
Coding QuestionsSalesforceArithmetic Expression Evaluator with Parentheses
4/5Evaluate a text arithmetic expression that mixes the four basic operators with nested parentheses and returns an integer. The learner must respect precedence, left-to-right ties and truncating division, including on negative intermediate values.
Coding QuestionsRoktIP Address / CIDR Iterator
3/5Design a robust network address iterator capable of parsing IP ranges and CIDR blocks while supporting bi-directional traversal and membership checks, featured in interviews at OpenAI. The problem unfolds incrementally through multiple implementation stages, testing your ability to handle boundary conditions, numerical conversions, and iterator protocols cleanly. It evaluates your knack for writing modular, self-consistent code that scales with evolving requirements. Read the full multi-part problem description and examine the clean solution code with a subscription.
Coding QuestionsOpenAICheck If Two Strings Are Isomorphic
2/5This Remitly interview question challenges you to determine if two given strings are isomorphic. Isomorphism here means that one string can be converted into the other by replacing characters, where each character in the first string is uniquely mapped to a character in the second string, and this mapping is consistent throughout. You'll need to consider how to track these character transformations and ensure the mapping rules are strictly followed in both directions. This problem assesses your ability to manage character relationships and apply mapping logic. The full problem and model solution require a subscription.
Coding QuestionsRemitlyCompute Roller Coaster Overall Scores (Extensible Rules)
3/5This Zoox interview question focuses on parsing formatted text data and applying extensible business logic rules to calculate customized metrics. You will process string descriptors representing different categories, extracting numerical attributes to compute an overall performance score based on specific scaling and comfort formulas. The task tests clean data parsing, conditional logic routing, and modular code design. Access to the complete problem description and an optimal model solution requires a subscription.
Coding QuestionsZooxLongest Symmetric Substring
3/5A coding question about finding the longest stretch of a string that reads identically in both directions, with a defined rule for ties. It also asks you to reason about how the work grows with the length of the input.
Coding QuestionsBloombergFixed-Width Text Display
4/5A coding question about laying out a list of words on a display whose rows all have the same fixed number of characters. It starts with a plain left-aligned layout and then asks for full justification, where the gaps inside each row must be padded according to precise spacing rules, including single-word rows and the final row.
Coding QuestionsOtter.aiExpand Nested Repeat Encoding
3/5A string-parsing problem about turning a compact repeat notation with nested groups back into its full text. It checks care with multi-digit counts and with keeping each nesting level separate.
Coding QuestionsOracleLongest Window with Limited Distinct Characters
3/5A coding question about finding the longest stretch of a string that contains only a limited number of different characters. It checks careful handling of empty inputs, a zero limit and strings that are valid as a whole.
Coding QuestionsByteDanceFind Every Rearranged Copy of a Pattern
3/5A coding question on finding every position in a long string where a contiguous block uses exactly the same letters, with the same counts, as a shorter pattern. Matches may overlap, and the answer must stay fast for strings of tens of thousands of characters.
Coding QuestionsSnowflakeWord Ladder Reachability
3/5Master this Snapchat coding interview question, which puts a classic string transformation puzzle into a reachability context. Instead of finding the minimum distance between starting and ending lexicon entries, your goal is simply to determine if a valid sequence of single-character mutations exists within a given vocabulary. This problem evaluates your graph traversal capabilities, adjacency generation techniques, and depth-first or breadth-first search implementation skills. Unlock the full challenge details and verified model solution with a subscription.
Coding QuestionsSnapchatReview — Token Tagging / Replacement
3/5This Airbnb interview question tests your ability to scan a text block for specific multi-word tokens and wrap them with designated labels while performing case-insensitive matching and preserving original capitalization. It is an excellent test of string parsing, pattern identification, and text transformation techniques. To view the complete prompt, formatting rules, and an optimal solution, a subscription is required.
Coding QuestionsAirbnbCount Palindromic Substrings in a String
3/5A string-counting question where every occurrence of a text that reads the same in both directions is included, even when the same text appears at several positions. It also checks the handling of empty and one-letter inputs.
Coding QuestionsGoldman SachsValid Parentheses
1/5As a frequently asked Snowflake interview question, this fundamental parsing task requires you to verify whether a sequence of grouping symbols is correctly nested and paired. You will need to process strings efficiently using appropriate data structures like stacks to ensure that every opening symbol has a corresponding closer in the correct order. This problem is a staple for testing basic algorithmic fluency. The full problem description and expert solution are available exclusively to subscribers.
Coding QuestionsSnowflakeMinimum Substring Partition Covering Target String
4/5Analyze a complex string parsing challenge that requires reconstructing a target sequence using the fewest possible continuous segments from a source text, frequently asked during technical evaluations at Databricks. This problem evaluates your advanced string processing, greedy algorithms, and dynamic programming skills to find optimal index ranges under strict constraints. You will also consider dynamic modifications and edge cases where coverage might fail. The complete problem statement and optimized solution are available exclusively with a paid subscription.
Coding QuestionsDatabricksMovement Command Controller
1/5Practice string parsing and state management with this introductory coding prompt from Goldman Sachs interviews. The challenge requires processing a sequence of directional instructions to update coordinates on a grid using a dispatch table, with follow-ups addressing case insensitivity and robust input validation. It is an excellent drill for beginners focusing on control flow and clean code structure. The complete problem statement and model implementation are available exclusively to subscribers.
Coding QuestionsGoldman SachsStart Indices of Anagram Substrings
3/5A string question about locating every place in a text where a window contains exactly the letters of a given word, in any order. The inputs are long enough that rebuilding the letter counts for each window from scratch times out.
Coding QuestionsOracleTrie Autocomplete / Prefix Search
3/5Reported during engineering interviews at Pinterest, this problem explores prefix-tree data structures through multiple practical scenarios, including predictive text generation, index lookups, and content filtering. You will design efficient search mechanisms to parse dictionary words and detect forbidden phrases within large log datasets. The challenge evaluates your ability to construct and traverse prefix trees for optimal retrieval performance. Unlock the complete technical documentation and reference solutions through our paid subscription plan.
Coding QuestionsPinterestEncode String to Morse Code
2/5This interview challenge, recently featured in Oscar Health hiring assessments, tests your ability to manipulate strings and apply dictionary lookups by translating standard alphabetic text into its corresponding Morse code representation. Candidates must process textual data efficiently and construct a properly formatted output sequence according to predefined translation rules. Practicing this exercise helps build foundational text-processing skills commonly evaluated in screening rounds. To explore the complete problem description along with a fully optimized reference solution, consider upgrading to a paid subscription.
Coding QuestionsOscar HealthEarliest Non-Repeating Character
2/5A coding question on strings: given a piece of text, report the position, or the value, of the earliest character that appears only once. It covers repeated characters, case sensitivity, empty input and inputs with many thousands of characters.
Coding QuestionsGoldman SachsRemove Prefix Strings
3/5A string question about a list of words in which some words begin with other, shorter words. The learner must filter the list while keeping the original order.
Coding QuestionsRobloxRun-Length Encoding (RLE) Encode/Decode with Max Run Length K; Minimize Encoding Length
3/5A Liftoff coding question on a run-length encoding variant where each run count has an upper limit and the encoded output must be as short as possible. It tests string parsing and recognising when a greedy choice fails and dynamic programming is needed.
Coding QuestionsLiftoffReverse Alphanumeric Segments in Place
2/5Practice a string manipulation puzzle frequently asked in Snowflake technical screens, where you reverse continuous segments of letters and numbers while leaving all punctuation and whitespace untouched in their original spots. The puzzle requires careful boundary detection to handle punctuation marks correctly that might split alphanumeric runs. This task is an excellent test of your two-pointer techniques, character classification, and in-place mutation logic. Get the full problem requirements and the optimal solution by subscribing.
Coding QuestionsSnowflakeInsert Spaces Around Palindrome Layers
2/5In this Walmart Labs interview question, you are tasked with decomposing a symmetric word into its nested mirror layers and formatting the result with specific spacing rules. The exercise evaluates your string manipulation capabilities and your knack for peeling outer matching characters down to an asymmetric core. It is a great test of recursive thinking and careful boundary management during iterative string processing. The full problem description and expert model solution are available exclusively with a subscription.
Coding QuestionsWalmart LabsString Shift
2/5This reported coding interview question from Rubrik challenges candidates to manipulate a text sequence by applying a series of directional displacement operations. The problem evaluates your ability to handle cumulative arithmetic movements and efficiently compute final character indices without redundant processing. You will need to manage boundary conditions and wrapping behavior effectively. Access to the comprehensive problem description and optimal algorithmic approach requires a subscription.
Coding QuestionsRubrikShortest Unique Substring
3/5Given a list of words, produce for each word the shortest piece of text that occurs in that word and in none of the others. The result must handle words that have no such piece and break ties consistently.
Coding QuestionsAffirmImplement a Calculator Supporting Basic Operations
3/5A coding question on evaluating a text expression that mixes the four basic arithmetic operations with ordinary precedence and whole-number division. It checks operator precedence, left-to-right evaluation, division that drops the fraction, and long inputs with stray spaces.
Coding QuestionsRoktMinimize Value by Parentheses in Concatenated Expression
3/5This Visa interview question challenges candidates to evaluate numeric strings and strategically place grouping symbols to achieve the smallest possible arithmetic result. The problem evaluates your ability to handle large numerical inputs and apply greedy or dynamic programming techniques for expression parsing. You will need to carefully consider operator precedence and string manipulation. To access the complete problem description and an optimized model solution, a paid subscription is required.
Coding QuestionsVisaSimplify Expression by Removing Parentheses
3/5Asked during an onsite interview at Oracle Labs, this string manipulation challenge tests your ability to parse algebraic expressions containing nested parentheses and distribute unary signs across variables. You are required to flatten the expression completely while adhering to mathematical rules for addition and subtraction over symbols. This problem tests stack utilization and careful parsing logic. The complete problem description, test cases, and reference solution require a subscription.
Coding QuestionsOracleText Editor String Operations: Insert, Delete, Get Character
2/5This GEICO interview problem requires you to design and implement a core set of operations for a text editor. You'll need to support efficient insertion of characters at specific indices, deletion of character ranges, and retrieval of individual characters. The challenge lies in choosing and implementing a data structure that can handle these dynamic string modifications effectively, ensuring good performance for all operations. This tests your understanding of data structures suitable for mutable sequences. The full problem and model solution require a subscription.
Coding QuestionsGEICOSmallest Number Greater Than K
3/5This Accenture interview challenge requires you to form the smallest possible numerical value greater than a given threshold by deleting digits from a source string while strictly preserving their relative order. You must intelligently decide which digits to drop or retain to satisfy both the ordering constraint and the strict inequality comparison against the target value. The exercise tests your string manipulation skills and greedy decision-making abilities under numeric constraints. Get complete access to the full problem text and a verified model solution with a subscription.
Coding QuestionsAccentureMaximum Number of Palindromic Strings (OA)
3/5This Salesforce online assessment challenge evaluates your ability to analyze character frequencies across a collection of text elements. By permitting unlimited character redistribution between different items, the task tests how effectively you can optimize symmetry and maximize the quantity of items that meet mirror-symmetry criteria simultaneously. It requires clever counting strategies and greedy allocation logic to determine the upper limit. Access to the complete problem breakdown and the optimal code solution requires a subscription.
Coding QuestionsSalesforceFilter Strings by Rarest Max-Character Proportion and Unique Common-Chars, Then Concatenate
3/5In this Moveworks interview scenario, you must process a collection of text strings by analyzing character frequency proportions, identifying rare subsets based on specific criteria, and performing targeted string manipulations and concatenations. This task tests your data aggregation skills, frequency map handling, and conditional filtering logic. Reviewing the complete requirements, hidden constraints, and the optimal algorithm requires an active subscription.
Coding QuestionsMoveworksSelect Least-Similar Candidates After Rarest Max-Character Proportion Filtering
3/5This reported Moveworks interview question challenges candidates to build upon text character proportion filtering by incorporating a custom similarity metric. Test your ability to combine string feature extraction with relational score comparisons to isolate specific items from a dataset. You will need to implement an efficient filtering pipeline that handles tie-breaking rules and metric evaluations correctly. Master this complex string manipulation challenge to sharpen your algorithmic evaluation skills. The full problem and model solution require a subscription.
Coding QuestionsMoveworksNumber-Template Matching with Option Sets
3/5A coding question about deciding whether a list of numeric tokens can consistently stand for the words of a sentence, then extending the check to positions that each offer several allowed tokens. It tests precise reading of a one-way mapping rule and choosing one token per position so the whole sentence still matches.
Coding QuestionsVantaHigh-Concurrency Prompt Template Deduplication (Array + Hash Map)
4/5Normalise a large batch of prompt templates into canonical keys and count how often each distinct shape appears, so an engineering team can see what it is really paying for. This Anthropic question specifies the cleanup rules precisely, including how placeholder names collapse, and then asks about doing the work under concurrency. You will apply the rules in the right order, pick a key representation that hashes cheaply, and discuss safe counting across threads. A subscription unlocks the complete problem and the reference solution.
Coding QuestionsAnthropicRegenerate Strings from Run-Length Digit Encoding
3/5This intriguing string manipulation puzzle, reported from Pinterest interviews, explores the reverse engineering of run-length encoded data representations. Given a decoded sequence, candidates must deduce all possible numerical input strings that could have generated the result through standard compression logic. The task evaluates your combinatorial reasoning, parsing accuracy, and depth-first search capabilities in a string-processing context. Viewing the complete problem details, edge cases, and expert solution requires an active subscription.
Coding QuestionsPinterestBinary Search Log Entries by Date String
2/5This reported Pinterest interview challenge evaluates your ability to efficiently locate chronological records using logarithmic search techniques. Candidates must handle structured text timestamps to pinpoint exact matches or correct insertion boundaries, with advanced variants requiring frequency analysis alongside ordered lookups. This exercise tests your command over divide-and-conquer strategies and custom comparator logic on formatted data. Access to the comprehensive problem breakdown and verified reference implementation requires an active subscription.
Coding QuestionsPinterestThird Largest Word by Length (Stable Tie-Break)
2/5String manipulation and custom sorting logic are frequent themes in assessments, as highlighted by this Codeium interview question. The challenge requires you to analyze a collection of words, rank them by length in descending order, and identify the third largest item while carefully applying deterministic tie-breaking rules based on original positioning. It tests your ability to combine sorting algorithms with custom comparator logic and boundary checks. Upgrade to a paid subscription to view the complete problem details and an optimal model solution.
Coding QuestionsCodeiumExpand Nested (group){k} Repeats
3/5A string-processing question about expanding a compact notation in which a count written after a bracketed group says how many times the group appears. Groups can sit inside other groups several levels deep, and a count can be zero or have many digits.
Coding QuestionsWaymoParse Email Addresses from a Log String
3/5A coding question about reading a long string of semicolon-separated address entries. Entries can carry display names, notes in parentheses and quoted text, and you must return each distinct valid address once, in the order it first appears.
Coding QuestionsMicrosoftFirst Index of an Anagram Substring
2/5Tackle the string manipulation puzzle of locating the earliest occurrence of a permuted pattern inside a larger text. This Databricks interview question assesses your proficiency with sliding window techniques, frequency counting, and efficient substring scanning. You will need to design an approach that tracks character distributions dynamically to pinpoint matching segments without resorting to sluggish brute-force checks. The complete problem description and clean implementation walkthrough are available exclusively to subscribers.
Coding QuestionsDatabricksInteger to English Words
4/5Convert a non-negative integer up to about two billion into its English-word form with correct spacing and no empty groups. The task checks careful handling of number-name rules and edge cases like zero and skipped groups.
Coding QuestionsCarvanaValid Parentheses Check
2/5String parsing and validation form the foundation of many core computer science fundamentals, frequently appearing in screening interviews at companies like WeRide. This challenge requires you to evaluate a sequence of mixed bracket types and verify whether they are correctly nested and properly closed in the right order. It serves as an excellent test for your understanding of stack data structures and linear time complexity parsing. Unlock the complete problem statement and a clean model solution with a subscription.
Coding QuestionsWeRideAlphanumeric Vowel and Consonant Count
2/5Featured in recent JPMorgan software engineering interviews, this validation puzzle tests your string processing capabilities. The task requires you to inspect a text input to verify that every single character belongs to the alphanumeric family, rejecting any symbols or whitespace. Once validation passes, you must accurately tally the vowels and consonants while ignoring numeric digits. It is a great exercise for practicing conditional logic and character classification. Unlock the comprehensive solution and clean model code by subscribing to our platform.
Coding QuestionsJPMorganCount Disjoint String Pairs
2/5A coding question on word lists: count how many pairs of positions hold two words with no letter in common, handling repeated words, repeated letters and empty words. A follow-up asks for the matching pairs themselves in a fixed order.
Coding QuestionsNetflixUnique Word Abbreviation (Design)
3/5Reported as an interview question at eBay, this design challenge requires you to build a robust data structure that tracks and validates compressed word representations. You must efficiently handle a dictionary of terms and determine whether a query term's contracted form is entirely unique or ambiguous based on predefined rules. This scenario tests your proficiency in object-oriented design, hash map usage, and collision management. Gain access to the complete class design, edge case handling, and professional solutions with a paid subscription.
Coding QuestionseBayRemove All Adjacent Duplicates in a String
2/5This Whatnot interview question challenges you to repeatedly eliminate adjacent matching characters from a text string until no further reductions are possible. The core task involves efficiently processing character sequences to handle cascading deletions without incurring high time complexity. It evaluates your mastery of linear data structures, specifically utilizing stacks for string manipulation. Unlock the full problem details and the optimal model solution by acquiring a subscription.
Coding QuestionsWhatnotMaximum Number of Operations on String
3/5This MathWorks interview question examines advanced string transformation logic and greedy algorithmic techniques. Candidates are asked to compute the upper limit of allowable modifications on text sequences based on specific character matching rules. This task assesses your capability to recognize patterns, manipulate character arrays efficiently, and optimize sequential decision-making. Discover the optimal strategy and review the complete source code by getting a subscription.
Coding QuestionsMathWorksMinimum Boys to Seat Next to Every Girl
3/5In this engaging algorithmic puzzle often featured in Guidewire recruitment sessions, you must calculate the fewest individuals needed to occupy vacant spots so that every woman seated has at least one immediate neighbor. The task tests your understanding of linear arrangement logic, greedy strategy selection, and feasibility checking under strict spatial conditions. Solving this scenario effectively hones your ability to optimize resource placement in a one-dimensional layout. Unlock the full problem breakdown and verified code solution by upgrading to a paid subscription.
Coding QuestionsGuidewireWord Ladder with Two Character Change
3/5In this Samsung coding challenge, you are tasked with processing a collection of fixed-length text strings to discover relational neighborhoods based on character modifications. The goal is to build an indexed mapping where each entry connects to others reachable within a specific threshold of character substitutions. This problem examines your string manipulation skills, combinatorial awareness, and ability to optimize similarity searches. Access the full problem description, test cases, and optimal solution by subscribing.
Coding QuestionsSamsungDocument Target Words: Coverage, Counts and Shortest Passage
4/5A coding question about matching a list of target words against a text while ignoring case and punctuation. You must report whether every target is present as often as it is listed, how many times each one occurs, and the shortest stretch of the original text that contains them all, with exact rules for ties and repeated targets.
Coding QuestionsSnowflakeRearranged String Check (Anagram)
2/5Evaluating string transformations is a classic string-manipulation task featured in interviews with companies like Stackline. The challenge requires determining whether one textual sequence can be converted into another simply by rearranging its constituent characters while respecting case sensitivity. This problem assesses your ability to use frequency counting or hashing techniques to compare character multisets in linear time and constant space. To view the full problem statement and detailed algorithmic solutions, please unlock access with a subscription.
Coding QuestionsStacklineString Manipulation
2/5As seen in coding evaluations at Waabi, this straightforward text-processing challenge requires you to alter a sequence of alphabetic characters by shifting their ASCII values upward. It serves as an introductory test of basic iteration, character encoding knowledge, and string mutation techniques. Candidates must ensure proper handling of character boundaries and data types during the transformation process. The full problem statement and clean reference solution are available to subscribers.
Coding QuestionsWaabiWord Search in Rows and Columns
2/5In this Cisco interview scenario, candidates are tasked with scanning a character grid to verify the existence of specific words arranged horizontally or vertically in either direction. The puzzle evaluates matrix traversal skills, string matching logic, and boundary condition handling while ignoring diagonal paths. It is an effective test of two-dimensional array navigation and search optimization. The complete problem description and clean model solution are restricted to active subscribers.
Coding QuestionsCiscoImplement a Calculator with Brackets
4/5In this classic expression evaluation challenge reported from WeRide, you must construct a robust arithmetic calculator that correctly handles basic operations along with parentheses and operator precedence rules. The task evaluates your ability to parse structured text strings efficiently while respecting mathematical hierarchy and integer division behaviors. Tackling this problem hones your stack-based parsing skills and algorithmic logic for complex string manipulation. Unlock the full problem details and reference solution by obtaining a subscription.
Coding QuestionsWeRideAnti-Aging Serum
3/5Explore a complex substring evaluation challenge inspired by Rubrik interviews, where you must locate the longest valid segment of elements constrained by individual tolerance thresholds. This puzzle tests your advanced understanding of sliding window algorithms, boundary management, and constraint checking within sequential data. It is designed to challenge your capability to optimize performance on large datasets. Unlock the comprehensive problem statement and our expert solution with a subscription.
Coding QuestionsRubrikValidate US Phone Numbers with a Regular Expression
2/5Master pattern matching and string analysis by learning how to verify standard domestic phone number formats using a single regular expression. Reported as an interview question at eBay, this challenge evaluates your ability to handle various punctuation layouts and digit constraints concisely. Unlock the complete problem statement and a verified model solution by subscribing today.
Coding QuestionseBayWord Guessing Game (Wordle-style)
3/5A coding question about building a letter-feedback guessing game, including the handling of repeated letters, and about using past feedback to list the words that are still possible.
Coding QuestionsShopifyBinary Decoder / Simplified BSON Parser
4/5Parsing serialized byte streams is a classic systems-level challenge often featured in technical assessments, such as this reported MongoDB interview question. You will build a custom decoder that translates hexadecimal encoded binary formats into structured hierarchical objects, requiring careful handling of byte-level offsets and endianness. This puzzle tests your deep understanding of data serialization and memory layout manipulation. Gain access to the full problem statement, test cases, and a comprehensive code solution with a paid subscription.
Coding QuestionsMongoDBCount Distinct Swappable Digit Pairs
3/5This technical screening problem from ZipRecruiter requires you to examine a collection of numeric values and find index combinations where one item can transform into another through limited character permutations. Candidates must design an efficient counting algorithm that accounts for digit rearrangement constraints while avoiding redundant checks. The puzzle tests your mastery of hashing techniques, frequency counting, and combinatorial logic. To unlock the complete problem guidelines, test suites, and detailed solution, a subscription is necessary.
Coding QuestionsZipRecruiterLongest Common Subsequence
3/5This classic dynamic programming problem, featured in technical loops at Roku, requires you to find the longest sequence of characters that appear in the same relative order within two separate strings. The challenge tests your ability to break down a sequence-matching problem into overlapping subproblems and construct an optimal substructure matrix or state transition. Mastering this concept is crucial for understanding string similarity metrics and advanced algorithmic optimization techniques. To examine the full problem specification and review a well-commented model solution, a subscription is required.
Coding QuestionsRokuCompress a text editor operation stream into insert/delete/skip operations
3/5Featured in Replit interview loops, this problem asks you to take a sequence of low-level text editing actions and compress them into a streamlined set of higher-level instructions. The challenge tests your proficiency in string manipulation, state tracking, and optimization algorithms under cursor boundary conditions. Unlock the full problem statement, test cases, and complete solution code by subscribing today.
Coding QuestionsReplitSpell a Word in a Grid
3/5A coding question about finding a string inside a two-dimensional grid of letters by stepping between neighboring cells without reusing any. It also asks the candidate to keep the input grid intact and to analyze the worst-case running time.
Coding QuestionsTuroLongest Common Suffix Queries
4/5This ByteDance coding problem involves processing a series of queries against a collection of words. For each query string, your task is to locate the word within the provided container that shares the longest possible common suffix. In cases where multiple words yield the same maximum suffix length, you must apply specific tie-breaking rules: prioritize the shorter string, and then the one with the smaller original index. This problem evaluates your proficiency with string matching and efficient data structures. The full problem and model solution require a subscription.
Coding QuestionsByteDanceStreaming Markdown Parser
3/5This reported Cursor interview question tests your ability to build a streaming text processor that incrementally interprets markup formatting, specifically handling inline and block code delimiters on the fly. Candidates must design functional components to transform progressive text inputs into properly structured HTML outputs efficiently. Tackling this challenge evaluates your state management and string parsing skills under time constraints. Unlock the complete problem breakdown and expert model solution with a subscription.
Coding QuestionsCursorAirplane Seat Parsing and Availability Computation
2/5Solve a practical parsing and inventory tracking challenge reported at GEICO that involves computing available capacities within a structured grid layout. Programmers must ingest reservation data, decode alphanumeric seat coordinates, and calculate remaining open slots against predefined cabin dimensions. This exercise assesses fundamental parsing capabilities and matrix arithmetic. Reading the full problem description and verified solution code requires an active subscription.
Coding QuestionsGEICOSegregate Binary String (Move Ones to End)
3/5Practice a string transformation puzzle frequently asked in Akuna Capital technical assessments. The goal is to compute the minimum movement cost required to group all binary ones to the right side of a given string through adjacent swaps. This task evaluates your skill in counting inversions and optimizing linear scans to determine cumulative distances efficiently. Access the full problem description, analytical breakdown, and complete model solution by securing your subscription.
Coding QuestionsAkuna CapitalReverse Words in a String (Preserve Spaces, In-Place)
3/5Challenge your string manipulation abilities with this classic algorithmic problem reported during coding rounds at ByteDance. The exercise requires you to reorder words within text efficiently while handling irregular whitespace, preserving specific formatting rules, and ultimately optimizing your memory footprint to operate directly within constant extra space. It tests your mastery of pointer manipulation and in-place transformation techniques commonly expected in top-tier technical screens. Reviewing the complete problem breakdown, optimal code, and alternative approaches requires a subscription.
Coding QuestionsByteDanceAlternating String Merge
2/5A coding question on strings. Two strings are combined by taking one character from each in turn, and the leftover characters of the longer one are kept. It checks index handling with unequal lengths and empty inputs.
Coding QuestionsCiscoDoing Smart Work
3/5Explore a challenging string transformation puzzle that tests your algorithmic ingenuity, featuring in technical screenings at Rubrik. Given a numeric sequence, you must determine the smallest possible lexicographical value achievable by repeatedly swapping adjacent digits subject to strict parity conditions. This problem evaluates your grasp of permutation constraints, greedy choice properties, and efficient manipulation of large sequences within tight performance bounds. Gain access to the full problem statement, complexity analysis, and optimal solution by upgrading to a paid subscription.
Coding QuestionsRubrikImplement Trie (Prefix Tree)
3/5A coding question on designing a small data structure for storing many strings. It tests how to support exact-word lookup and prefix lookup together, and how to treat empty strings and repeated inserts.
Coding QuestionsRobloxLongest Substring With One Character Allowed to Repeat Once
3/5This Pinduoduo interview question challenges you to find the longest contiguous segment in a string where at most one character appears twice and all other characters appear strictly once. Candidates must design an efficient sliding window or two-pointer algorithm to scan the text in linear time while tracking character frequencies. It tests advanced sequence processing and state management. The full problem statement and expert solution are available exclusively to subscribers.
Coding QuestionsPinduoduoCommon Restaurant Pickup Order
3/5A coding question about two delivery routes that each visit restaurants in a set order. The candidate returns the longest list of stops that fits both routes, as the names themselves rather than a count, and handles repeated names, ties and empty routes.
Coding QuestionsDoorDashWord Ladder (Minimum Transformations)
4/5Explore this classic graph-traversal problem frequently featured in technical evaluations at Adobe. The exercise focuses on computing the shortest path between two text strings by modifying a single character at a time through a restricted lexicon. It tests your ability to model state spaces and apply breadth-first search techniques efficiently. Access to the comprehensive problem breakdown and optimal implementation requires a subscription.
Coding QuestionsAdobeShortest Distance Between 'X' and 'Y' in String
2/5This frequently reported interview question from Glean challenges candidates to efficiently compute the minimal separation index between two distinct target symbols scattered throughout a text sequence. The assessment evaluates your ability to traverse linear data structures while maintaining optimal tracking of element positions in a single pass. To explore the complete problem statement, optimal algorithmic approaches, and clean code implementations, unlock the full model solution with a subscription.
Coding QuestionsGleanImplement an In-Memory Key-Value Store
2/5Designing lightweight data structures is a common theme in backend engineering assessments, similar to this RBC Royal Bank interview question. You will build an in-memory mechanism to insert, retrieve, and delete key-value pairs while handling missing lookups gracefully. This challenge tests your ability to select appropriate hash-based collections for fast operations. Gain access to the full problem statement and optimized solution by subscribing.
Coding QuestionsRBC Royal BankTriplets With Unique Chars
2/5This ZipRecruiter interview question tasks developers with counting how many fixed-size windows within a text string contain exclusively unique characters. The exercise tests your competence in sliding window techniques, frequency tracking, and substring enumeration under linear time constraints. View the detailed problem walkthrough, edge-case handling, and clean reference code by upgrading to a paid subscription.
Coding QuestionsZipRecruiterCount Letter Decodings of a Digit String
3/5A coding question about digit strings produced by writing letters as their alphabet positions: find the number of distinct letter sequences that encode to a given digit string, with careful handling of zeros.
Coding QuestionsGoldman SachsText Highlighting / Citation Tagging
3/5This string-processing challenge, regularly utilized in technical interviews at Harvey, focuses on identifying and formatting specific lexical segments within generated prose based on external reference collections. The problem tests your aptitude for interval merging, text parsing, and hash-based lookups while handling overlapping regions and ranking frequencies. Unlock the complete problem context and optimal code implementation by subscribing.
Coding QuestionsHarveyWord Compression
3/5This reported interview question from Rubrik challenges candidates to find the overlap between two text sequences while accounting for both contiguous matching and broader sequential relationships. It tests your ability to manipulate strings efficiently and handle edge cases where one text sequence entirely encompasses another in a specific structural way. Developing an optimal algorithm requires careful comparison logic to handle various sequence lengths. Access to the full problem description and model solution requires a subscription.
Coding QuestionsRubrikFriendship String
2/5Featured in Rubrik software engineering evaluations, this string manipulation problem challenges you to transform a numeric sequence by selectively modifying and relocating digits to achieve the lexicographically smallest possible result. It evaluates your analytical thinking, string transformation techniques, and optimization under strict constraints. Unlock the complete problem context and detailed solution strategy with a subscription.
Coding QuestionsRubrikLongest-Match Tokenization with UNK and Optional UNK-Run Compression
3/5Tokenise text against a fixed vocabulary by always taking the longest match available at the current position, falling back to an unknown token one character at a time. This Anthropic question then adds a rule that collapses consecutive unknown tokens, which quietly changes what the greedy scan has to remember. You will bound the match length by the vocabulary, keep the scan linear in practice, and handle the boundary where a fallback meets a real token. A subscription unlocks the full problem and the verified solution.
Coding QuestionsAnthropicRestore Valid IPv4 Addresses
3/5Split a run of digits into every arrangement that forms a legal IPv4 address, in dictionary order, using each digit exactly once. This OpenAI exercise is backtracking with a narrow validity rule, and the trap is the leading zero: a lone zero segment is fine while anything padded is not. You will prune on segment value and length early, keep the output ordered, and report nothing at all when no split works. The full problem statement and the model solution require a subscription.
Coding QuestionsOpenAIPython Data Processing Task (Parse, Aggregate, and Validate)
3/5Read hardware test results from standard input, discard the failures, and report per-test pass counts and average latency in a specified order. This NVIDIA question is everyday data plumbing, and the marks are in the details: integer rounding of the average, stable ordering of the output, and malformed lines that must not crash the run. You will parse defensively, aggregate in one pass, and decide what an empty input should print. Subscribers can read the full problem and the reference program.
Coding QuestionsNVIDIASimplified Trie Implementation
3/5Reported as a Dell interview question, this challenge asks you to build a simplified prefix tree data structure that supports word insertion and prefix-based suggestions. The task evaluates your understanding of tree-based string manipulation and efficient retrieval algorithms, requiring you to return a sorted list of top matches for any given query prefix. Mastering this common string-processing pattern and its implementation details requires a full subscription to our coding platform.
Coding QuestionsDellPassword Compliance
3/5This Karat interview question evaluates your ability to implement a robust credential validation utility. You will need to write a program that checks a text string against multiple security criteria, including length constraints, forbidden substrings, character casing requirements, mandatory symbol inclusion, and limits on consecutive duplicate characters. The exercise tests your string manipulation skills and logical conditional checks in a practical setting. Unlock the full problem and model solution with a subscription.
Coding QuestionsKaratCompress and Decompress String (Excel-like Encoding)
3/5Explore a stimulating string transformation exercise often encountered in technical interviews at NVIDIA, focusing on custom encoding formats. Developers are tasked with building bidirectional routines that compress and decompress alphabetic character runs using a unique numerical representation akin to spreadsheet column naming conventions. This scenario tests string parsing, mathematical mapping, and edge-case management for repeating character sequences. Reviewing the complete challenge guidelines and professional solution code requires a subscription.
Coding QuestionsNVIDIASimulate Chairs Required for Customer Events
2/5A coding question about simulating a stream of arrival and departure events to find how many seats a venue must provide. It tests careful state tracking, including what happens when a departure has nothing to remove.
Coding QuestionsGoldman SachsGenerate 5-Minute Day-Time Codes
2/5A coding question on converting readable weekday and clock times into compact integer codes, stepping through a range at a fixed interval. It covers the 12-hour clock and what the list should contain at and beyond its edges.
Coding QuestionsDoorDashAnagram Queries on Word List
2/5A coding question on answering many lookups against a fixed word list: for each query, return every listed word that uses exactly the same letters, in sorted order. Duplicates, case and queries with no match all have defined behavior.
Coding QuestionsGoldman SachsDNA Substring Palindrome Cost Sum
3/5A coding question about strings and substrings: measure how far every part of a genetic sequence is from being a mirror image, and combine those distances into one exact total. It rewards reusing work between overlapping pieces instead of recounting each from scratch.
Coding QuestionsIntuitLED Digit Display Invariant Under 180° Rotation
2/5A coding question about digits on a display that is turned upside down. It asks whether the visible sequence is unchanged, which requires deciding which digits stay valid after rotation and comparing positions from both ends.
Coding QuestionsWaymoModify the String
3/5Remove repeated letters from a string so that every letter survives exactly once, aiming for the dictionary-largest possible outcome. The problem checks whether you can reason about order-preserving choices and keep a running candidate result. Subscribers can open the full statement and solution.
Coding QuestionsYahooSort Target String by Custom Order
3/5A coding question on rearranging a string so that selected characters follow a caller-supplied sequence while all other characters stay unconstrained. It checks careful handling of repeated characters, characters missing from the sequence, and empty inputs. A subscription is needed to see the full statement and a model solution.
Coding QuestionsWaymoLook-and-Say Next Sequence
2/5Generate the next term of a self-describing digit sequence by encoding runs of equal digits. It tests string scanning, run boundaries and treating numeric input as text.
Coding QuestionsCiscoCalculator with Parentheses
3/5Evaluating a string that mixes numbers, plus and minus signs, spaces and nested parentheses. The task checks how well you track signs across nested groups while scanning the input once.
Coding QuestionsDockerPhone Keypad Word Filter
3/5Given a string of phone-keypad digits and a word list, return the words that exactly those key presses would type. It tests precise handling of letter case, invalid characters and result order.
Coding QuestionsLinkedInFind the Closest Palindrome
4/5A coding question on finding the nearest palindromic number to a given integer, excluding the number itself. It checks careful handling of digit mirroring, carries and borrows, numbers whose length changes, and tie-breaking by value.
Coding QuestionsRobloxPrefix Autocomplete via Trie
3/5A coding question on indexing a list of strings so that all entries beginning with a given sequence of characters can be retrieved quickly. It checks handling of duplicates, entries that equal the query, and queries with no match.
Coding QuestionsWaymoFunction Inclusive and Exclusive Time
3/5A coding question on turning a chronological start/end event log into per-function timings. It tests how nested calls are tracked, the difference between total time and time excluding direct callees, and consistent handling of timestamps.
Coding QuestionsLinkedInCompare Dotted Version Strings
3/5A string question about deciding which of two release identifiers is later when each is written as numbers separated by periods. Leading zeros and different numbers of segments must not change the outcome.
Coding QuestionsNextdoorMultiply Two Numbers Given as Strings
3/5A coding question about multiplying two very large numbers that are stored as digit strings, without using built-in big-number support. It tests careful digit-by-digit arithmetic, carry handling and edge cases such as zero operands and leading zeros.
Coding QuestionsMicrosoftWord Transformation Path with One- or Two-Character Moves
4/5A coding question on moving from one word to another through a dictionary, where every step may alter one or two letters at once. The goal is to decide whether the target can be reached at all.
Coding QuestionsRedditRemove Adjacent Duplicate Characters
3/5A coding question about a string in which neighboring equal letters keep cancelling in pairs. It checks that deletions which expose new pairs are handled and that a long input finishes quickly.
Coding QuestionsBlue OriginRemove Duplicate Letters for Lexicographically Smallest Result
3/5A string question about deleting repeated letters so each appears once while keeping the result as early in dictionary order as possible. It rewards careful reasoning about which letters may safely be dropped and which must be kept.
Coding QuestionsByteDancePer-Position Match Signal Between Two Strings
3/5A string comparison question that scores a guess against a target and reports one value for every position. Repeated characters make the bookkeeping the tricky part.
Coding QuestionsTeslaBoggle Game: Find All Dictionary Words in a 2D Board
4/5A coding question on a letter grid and a word list. Given a board of lowercase letters, find every listed word that can be traced through adjacent cells, including diagonals, without reusing a cell. It checks careful path bookkeeping and keeping the search fast on large dictionaries.
Coding QuestionsChewyAll Shortest Word Transformation Sequences
4/5A word-transformation question about finding every shortest chain of single-letter changes through an allowed word list. It tests whether a solution returns all equally short chains and none that are longer.
Coding QuestionsTeslaFind Maximum Number of Strings
3/5This coding challenge, reported in technical rounds at Moveworks, requires candidates to compute the total quantity of valid alphabetic text sequences of a specified length. The core rule dictates that any pair of consecutive letters must maintain an alphabetical distance within a given threshold. This exercise evaluates your proficiency with dynamic programming, combinatorics, and efficient mathematical computation over large bounds. Access to the comprehensive problem statement and verified model solution requires an active subscription.
Coding QuestionsMoveworks
Studied alongside
String interview FAQ
- How many String interview questions are there?
- 467 reported questions, mostly Coding Questions.
- Which companies ask String questions?
- Amazon (106), Google (22), Meta (19), Capital One (11), Upstart (10), Apple (9), Stripe (8), Uber (8).
- How hard are String questions?
- They average 2.8 out of 5: 11 at 1/5, 137 at 2/5, 261 at 3/5, 58 at 4/5.