เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

Coding: Strings test for hiring

See how candidates write code to handle text, from parsing formatted lines to building and reformatting strings.

  • 35 เดฎเดฟเดจเดฟเดฑเตเดฑเต
  • 1 เดŸเดพเดธเตโ€Œเด•เต
  • เด‡เดŸเดคเตเดคเดฐเด‚
  • เด•เต‹เดกเดฟเด‚เด—เต เดœเต‹เดฒเดฟเด•เตพ
  • เด‡เด‚เด—เตเดฒเต€เดทเต เดญเดพเดทเดฏเดฟเดฒเต† เดšเต‹เดฆเตเดฏเด™เตเด™เตพ
  • เดกเต†เดธเตโ€Œเด•เตโ€ŒเดŸเต‹เดชเตเดชเดฟเตฝ เดฎเดพเดคเตเดฐเด‚

เดšเตเดฐเตเด•เตเด•เดคเตเดคเดฟเตฝ

The Coding: Strings test is an intermediate programming assessment with one coding task. Candidates write a function to parse, transform, or build text, with code checked against hidden cases including empty text and repeated characters. It measures correct string handling for software engineers, web and backend developers, data and integration engineers, and related programming roles.

เด‡เดคเต เดŽเดจเตเดคเดพเดฃเต เด…เดณเด•เตเด•เตเดจเตเดจเดคเต

Writing correct code that parses, transforms and builds strings.

String manipulation

Covers writing code to parse formatted lines, scan for patterns, count or group characters, and reformat words.

เดšเต‹เดฆเตเดฏเด™เตเด™เดณเตเดŸเต† เดฐเต‚เดชเด™เตเด™เตพ

เด•เต‹เดกเดฟเด‚เด—เต เดœเต‹เดฒเดฟเด•เตพ

เด•เดพเตปเดกเดฟเดกเต‡เดฑเตเดฑเต: เดŽเดกเดฟเดฑเตเดฑเดฑเดฟเตฝ เด•เต‹เดกเต เดŽเดดเตเดคเตเด•เดฏเต‹ เดคเดฟเดฐเตเดคเตเดคเตเด•เดฏเต‹ เดšเต†เดฏเตเดคเต เด‰เดฆเดพเดนเดฐเดฃเด™เตเด™เตพ เด‰เดชเดฏเต‹เด—เดฟเดšเตเดšเต เดชเตเดฐเดตเตผเดคเตเดคเดฟเดชเตเดชเดฟเด•เตเด•เตเดจเตเดจเต.

เดจเดฟเด™เตเด™เตพ เด•เดพเดฃเตเดจเตเดจเดคเต: เดธเดฟเดจเตเดฑเดพเด•เตเดธเดฟเดจเต†เด•เตเด•เตเดฑเดฟเดšเตเดšเตเดณเตเดณ เด…เดฑเดฟเดตเต เดฎเดพเดคเตเดฐเดฎเดฒเตเดฒ, เดฎเดฑเดšเตเดšเตเดตเต†เดšเตเดš เดŸเต†เดธเตเดฑเตเดฑเต เด•เต‡เดธเตเด•เตพ เด‰เดชเดฏเต‹เด—เดฟเดšเตเดšเต เดชเดฐเดฟเดถเต‹เดงเดฟเดšเตเดš เดชเตเดฐเดตเตผเดคเตเดคเดฟเด•เตเด•เตเดจเตเดจ เด•เต‹เดกเต.

35 เดฎเดฟเดจเดฟเดฑเตเดฑเดฟเดจเตเดณเตเดณเดฟเตฝ 1 เดŸเดพเดธเตโ€Œเด•เต.

เดˆ เดŸเต†เดธเตเดฑเตเดฑเดฟเดจเต เด…เดจเตเดฏเต‹เดœเตเดฏเดฎเดพเดฏ เดœเต‹เดฒเดฟเด•เตพ

Software engineers, web and backend developers, data and integration engineers, and other programming roles that handle text, input formats or log data.

What the coding task can show

  1. Text handling in code

    See how a candidate writes a function that parses, transforms, or builds text, rather than relying only on descriptions of past work.

  2. Attention to edge cases

    Hidden cases include empty text and repeated characters, giving you evidence about how the solution handles more than ordinary input.

  3. A choice of coding language

    Candidates choose the language they know best from six, and each string task is checked to behave the same way in all of them, so no language choice is a handicap.

  4. Clear task rules

    The task uses printable ASCII text, states the rules checked by hidden cases, and does not depend on a spoken language's alphabet or local formats.

เด“เดฐเต‹ เด•เดพเตปเดกเดฟเดกเต‡เดฑเตเดฑเดฟเดจเตเด‚ เดฒเดญเดฟเด•เตเด•เตเดจเตเดจเดคเต

เดฎเดพเดคเตƒเด•เดพ เดฑเดฟเดชเตเดชเต‹เตผเดŸเตเดŸเต (เดธเดพเด™เตเด•เตฝเดชเตเดชเดฟเด• เดกเดพเดฑเตเดฑ)เด•เต‹เดกเดฟเด‚เด—เต: เดธเตเดŸเตเดฐเดฟเด™เตเด™เตเด•เตพ
76%เดชเต†เตผเดธเต†เดจเตเดฑเตˆเตฝ 57. เดฎเดพเดจเดฆเดฃเตเดกเด‚: HireValid เดธเตเดฅเดพเดจเดพเตผเดฅเดฟเด•เตพ, n = 1,580
String manipulation76%
Integrity Scoreเด‰เดฏเตผเดจเตเดจ เด†เดคเตเดฎเดตเดฟเดถเตเดตเดพเดธเด‚
  • เดชเดฐเต€เด•เตเดทเดฏเดฟเดฒเตเดŸเดจเต€เดณเด‚ เดŸเต†เดธเตเดฑเตเดฑเต เดŸเดพเดฌเดฟเตฝ เดคเตเดŸเตผเดจเตเดจเต
  • เดชเต‡เดธเตเดฑเตเดฑเต เดšเต†เดฏเตเดค เด‰เดคเตเดคเดฐเด™เตเด™เดณเดฟเดฒเตเดฒ
  • เดธเตเดฅเดฟเดฐเดฎเดพเดฏ เดตเต‡เด—เดคเตเดคเดฟเตฝ เดฎเดฑเตเดชเดŸเดฟ เดจเตฝเด•เดฟ

เดธเตเด•เต‹เดฑเตเด•เดณเตเด‚ เดชเตเดฐเตŠเดซเตˆเดฒเตเด•เดณเตเด‚ เด‡เดจเตเดฑเด—เตเดฐเดฟเดฑเตเดฑเดฟ เดธเดฟเด—เตเดจเดฒเตเด•เดณเตเด‚ เด’เดฐเต เด…เดญเดฟเดฎเตเด–เดคเตเดคเต‹เดŸเตŠเดชเตเดชเด‚ เดจเดฟเด™เตเด™เตพ เดตเดฟเดฒเดฏเดฟเดฐเตเดคเตเดคเดพเดจเตเดณเตเดณ เดคเต†เดณเดฟเดตเตเด•เดณเดพเดฃเต; เด…เดต เด’เดฐเดฟเด•เตเด•เดฒเตเด‚ เดธเตเดตเดฏเดฎเต‡เดตเดฏเตเดณเตเดณ เดคเต€เดฐเตเดฎเดพเดจเดฎเดฒเตเดฒ.

เดˆ เดŸเต†เดธเตเดฑเตเดฑเต เดธเต—เดœเดจเตเดฏเดฎเดพเดฏเดฟ เด‰เดชเดฏเต‹เด—เดฟเด•เตเด•เตเด•

Review test activity with context

Each candidate receives a different question set drawn from large pools. The browser shows one question at a time, and answer keys stay on HireValid's servers. Code runs against hidden test cases there; the cases and solutions do not reach the browser, and pastes into the editor are recorded. The server runs the timer, and reloading restores the same question with only the time left. Question text cannot be copied or selected, and a blocked copy attempt appears in the timeline. HireValid records signals such as time away from the test tab, pastes, and answers faster than a question can be read. Employers review an Integrity Score with an evidence timeline; it does not decide on its own. Read How we build our tests.

Use the score as one piece of evidence

This test rests on one task, so its score reflects one problem rather than a broad sample. Treat it as a prompt for review, not a decision on its own. Compare the code with a relevant work sample, then use a structured interview to ask how the candidate approached text parsing and edge cases. Reliability is reported once 200 candidates have completed the test. For more context, see the Software Engineer test and our pre-employment testing guide.

Structured interview questions

  1. How would you approach parsing a formatted line when some fields may be empty?

    Listen for a clear sequence of steps, attention to the stated input rules, and a way to check the result with examples.

  2. If a text task gave an unexpected result for repeated characters, how would you investigate it?

    Look for a reasoned approach to tracing the code, checking the relevant cases, and making a targeted change.

  3. How would you check a function that counts or groups characters before using it in a larger task?

    Listen for concrete test inputs, including ordinary text and edge cases, and an explanation of what each result would tell them.

เดจเต€เดคเดฟเดชเต‚เตผเดตเด•เดคเดฏเตเด‚ เด†เดตเดถเตเดฏเดฎเดพเดฏ เดธเต—เด•เดฐเตเดฏเด™เตเด™เดณเตเด‚

Tasks are written in plain English with input limited to printable ASCII text, so nothing depends on a spoken language's alphabet, local formats or cultural knowledge, and every rule the hidden cases check (case, spacing, ties, ordering) is stated in the task. The candidate picks the language they know best from six, and each task is checked to behave the same way in all of them.

เด…เดจเตเดฏเต‹เดœเตเดฏเดฎเดพเดฏ เดธเต—เด•เดฐเตเดฏเดฎเดพเดฏเดฟ เดเดคเต เดธเตเดฅเดพเดจเดพเตผเดฅเดฟเด•เตเด•เตเด‚ เด…เดงเดฟเด• เดธเดฎเดฏเด‚ เดจเตฝเด•เดพเด‚. เดซเดฒเด™เตเด™เตพ เด’เดฐเดพเตพ เดตเดฟเดฒเดฏเดฟเดฐเตเดคเตเดคเดพเดจเตเดณเตเดณ เดคเต†เดณเดฟเดตเตเด•เดณเดพเดฃเต, เด’เดฐเดฟเด•เตเด•เดฒเตเด‚ เดธเตเดตเดฏเดฎเต‡เดตเดฏเตเดณเตเดณ เดคเต€เดฐเตเดฎเดพเดจเดฎเดฒเตเดฒ.

Provisional: the score rests on a single task, so it reflects one problem rather than a broad sample. Reliability is reported once 200 candidates have completed it.

เดžเด™เตเด™เดณเตเดŸเต† เดจเต€เดคเดฟเดชเต‚เตผเดตเดฎเดพเดฏ เดธเดฎเต€เดชเดจเด‚ เดตเดพเดฏเดฟเด•เตเด•เตเด•

เดŸเต†เดธเตเดฑเตเดฑเดฟเดจเตเดฑเต† เดตเดฟเดถเดฆเดพเด‚เดถเด™เตเด™เตพ

One programming task in which the candidate writes a function that reads, transforms or builds text: parsing a formatted line, scanning for a pattern, counting or grouping characters, or reformatting words. The code runs against hidden test cases that cover ordinary input and edge cases such as empty text and repeated characters. The candidate may write the solution in Python, JavaScript, Java, C#, C++ or Go.

  • เดšเต‹เดฆเตเดฏเด™เตเด™เตพ เด‡เด‚เด—เตเดฒเต€เดทเดฟเดฒเดพเดฃเต.
  • เด…เดจเตเดตเดฆเดจเต€เดฏเดฎเดพเดฏ เดธเดนเดพเดฏเด™เตเด™เตพ: เด•เดฐเดŸเต เดŽเดดเตเดคเดพเดจเตเดณเตเดณ เดชเต‡เดชเตเดชเตผ.
  • เดธเดฎเดฏเดชเดฐเดฟเดงเดฟเดฏเตเดณเตเดณ เดŸเต†เดธเตเดฑเตเดฑเดฟเดจเต เดฎเตเดฎเตเดชเต 1 เดชเดฐเดฟเดถเต€เดฒเดจ เดŸเดพเดธเตโ€Œเด•เต, 10 เดฎเดฟเดจเดฟเดฑเตเดฑเต.
  • เดกเต†เดธเตโ€Œเด•เตเดŸเต‹เดชเตเดชเต เด…เดฒเตเดฒเต†เด™เตเด•เดฟเตฝ เดฒเดพเดชเตโ€ŒเดŸเต‹เดชเตเดชเต เด•เดฎเตเดชเตเดฏเต‚เดŸเตเดŸเดฑเดฟเตฝ เดšเต†เดฏเตเดฏเตเดจเตเดจเดคเต.

Python, JavaScript, Java, C#, C++, Go เด…เดตเดฏเตเดŸเต† เด‰เดŸเดฎเด•เดณเตเดŸเต† เดตเตเดฏเดพเดชเดพเดฐเดฎเตเดฆเตเดฐเด•เดณเดพเดฃเต. HireValid เด…เดตเดฐเตเดฎเดพเดฏเดฟ เดฌเดจเตเดงเดชเตเดชเต†เดŸเตเดŸเดคเต‹ เด…เดตเดฐเตเดŸเต† เด…เด‚เด—เต€เด•เดพเดฐเดฎเตเดณเตเดณเดคเต‹ เด…เดฒเตเดฒ.

เดชเดคเดฟเดตเดพเดฏเดฟ เดšเต‹เดฆเดฟเด•เตเด•เตเดจเตเดจ เดšเต‹เดฆเตเดฏเด™เตเด™เตพ

How does the Coding: Strings test handle fairness across languages?+

Tasks use plain English and printable ASCII text, so they do not depend on a spoken language's alphabet, local formats, or cultural knowledge. Every rule checked by hidden cases, including case, spacing, ties, and ordering, is stated in the task. Candidates choose from six programming languages, and each task is checked to behave the same way in all of them.

What do candidates need for the Coding: Strings test?+

The test is desktop-only and allows scratch paper. It has one coding task, and candidates cannot return to a previous question. The separate practice set contains one question and allows 10 minutes. Candidates can write their solution in any of six programming languages.

Which roles fit the intermediate Coding: Strings test?+

It is intended for intermediate software engineers, web and backend developers, data and integration engineers, and other programming roles that handle text, input formats, or log data. The task specifically asks candidates to write a function that parses, transforms, or builds text.

What does the Coding: Strings score tell an employer?+

The score is evidence about how a candidate handled one string-manipulation problem, not a broad sample of programming work. The code runs against hidden cases for ordinary input and edge cases such as empty text and repeated characters. Review it alongside a work sample and structured interview, not as the sole basis for a decision.

เดฌเดจเตเดงเดชเตเดชเต†เดŸเตเดŸ เดŸเต†เดธเตเดฑเตเดฑเตเด•เตพ

เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

เด•เต‹เดกเดฟเด‚เด—เต: เด…เดฑเต‡เด•เตพ

35 เดฎเดฟเดจเดฟเดฑเตเดฑเต, เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

เดชเดฐเตเดฏเดตเต‡เด•เตเดทเดฃเด‚ เดšเต†เดฏเตเดฏเตเด•
เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

เด•เต‹เดกเดฟเด‚เด—เต: เดฒเดฟเด™เตเด•เตเดกเต เดฒเดฟเดธเตเดฑเตเดฑเตเด•เตพ

35 เดฎเดฟเดจเดฟเดฑเตเดฑเต, เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

เดชเดฐเตเดฏเดตเต‡เด•เตเดทเดฃเด‚ เดšเต†เดฏเตเดฏเตเด•
เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

.NET

10 เดฎเดฟเดจเดฟเดฑเตเดฑเต, เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

เดชเดฐเตเดฏเดตเต‡เด•เตเดทเดฃเด‚ เดšเต†เดฏเตเดฏเตเด•
เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

GitHub

10 เดฎเดฟเดจเดฟเดฑเตเดฑเต, เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

เดชเดฐเตเดฏเดตเต‡เด•เตเดทเดฃเด‚ เดšเต†เดฏเตเดฏเตเด•
เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

เด’เดฌเตเดœเด•เตเดฑเตเดฑเต-เด“เดฑเดฟเดฏเดจเตเดฑเดกเต เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต

10 เดฎเดฟเดจเดฟเดฑเตเดฑเต, เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

เดชเดฐเตเดฏเดตเต‡เด•เตเดทเดฃเด‚ เดšเต†เดฏเตเดฏเตเด•
เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

เด•เตเดฒเต€เตป เด•เต‹เดกเต

10 เดฎเดฟเดจเดฟเดฑเตเดฑเต, เดชเตเดฐเต‹เด—เตเดฐเดพเดฎเดฟเด‚เด—เต เด•เดดเดฟเดตเตเด•เตพ

เดชเดฐเตเดฏเดตเต‡เด•เตเดทเดฃเด‚ เดšเต†เดฏเตเดฏเตเด•

เด…เดŸเตเดคเตเดค เดจเดฟเดฏเดฎเดจเดคเตเดคเดฟเตฝ เด•เต‹เดกเดฟเด‚เด—เต: เดธเตเดŸเตเดฐเดฟเด™เตเด™เตเด•เตพ เดŸเต†เดธเตเดฑเตเดฑเต เด‰เดชเดฏเต‹เด—เดฟเด•เตเด•เตเด•

Free เด‰เตพเดชเตเดชเต†เดŸเต† เดŽเดฒเตเดฒเดพ เดชเตเดฒเดพเดจเตเด•เดณเดฟเดฒเตเด‚ เดฎเตเดดเตเดตเตป เดŸเต†เดธเตเดฑเตเดฑเต เดฒเตˆเดฌเตเดฐเดฑเดฟเดฏเตเด‚ เดฒเดญเตเดฏเดฎเดพเดฃเต.

เดˆ เดŸเต†เดธเตเดฑเตเดฑเต เดธเต—เดœเดจเตเดฏเดฎเดพเดฏเดฟ เด‰เดชเดฏเต‹เด—เดฟเด•เตเด•เตเด•Free เดชเตเดฒเดพเตป. เด•เตเดฐเต†เดกเดฟเดฑเตเดฑเต เด•เดพเตผเดกเต เดตเต‡เดฃเตเดŸ.
Free เดชเตเดฒเดพเตป. เด•เตเดฐเต†เดกเดฟเดฑเตเดฑเต เด•เดพเตผเดกเต เดตเต‡เดฃเตเดŸ.เดˆ เดŸเต†เดธเตเดฑเตเดฑเต เดธเต—เดœเดจเตเดฏเดฎเดพเดฏเดฟ เด‰เดชเดฏเต‹เด—เดฟเด•เตเด•เตเด•

เดŽเดกเดฟเดฑเตเดฑเต‹เดฑเดฟเดฏเตฝ เดŸเต€เดฎเดฟเดจเต†เด•เตเด•เตเดฑเดฟเดšเตเดšเต

HireValid เดŽเดกเดฟเดฑเตเดฑเต‹เดฑเดฟเดฏเตฝ เดŸเต€เด‚ เดคเดฏเตเดฏเดพเดฑเดพเด•เตเด•เดฟ เดตเดธเตเดคเตเดคเด•เตพ เดชเดฐเดฟเดถเต‹เดงเดฟเดšเตเดšเดคเต. เดชเดฐเดฟเดถเต‹เดงเดฟเดšเตเดš เด‰เดฑเดตเดฟเดŸเด™เตเด™เตพ . เดŽเดกเดฟเดฑเตเดฑเต‹เดฑเดฟเดฏเตฝ เดจเดฏเด‚ เดตเดพเดฏเดฟเด•เตเด•เตเด•.