เจชเฉเจฐเฉ‹เจ—เฉเจฐเจพเจฎเจฟเฉฐเจ— เจนเฉเจจเจฐ

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เจ‰เฉฑเจš เจญเจฐเฉ‹เจธเฉ‡เจฏเฉ‹เจ—เจคเจพ
  • เจชเฉ‚เจฐเฉ‡ เจŸเฉˆเจธเจŸ เจฆเฉŒเจฐเจพเจจ เจŸเฉˆเจธเจŸ เจตเจพเจฒเฉ€ เจŸเฉˆเจฌ 'เจคเฉ‡ เจฐเจนเฉ‡
  • เจ•เฉ‹เจˆ เจœเจตเจพเจฌ เจชเฉ‡เจธเจŸ เจจเจนเฉ€เจ‚ เจ•เฉ€เจคเฉ‡ เจ—เจ
  • เจ‡เจ•เจธเจพเจฐ เจฐเจซเจผเจคเจพเจฐ เจจเจพเจฒ เจœเจตเจพเจฌ เจฆเจฟเฉฑเจคเฉ‡

เจธเจ•เฉ‹เจฐ, เจชเฉเจฐเฉ‹เจซเจผเจพเจˆเจฒเจพเจ‚ เจ…เจคเฉ‡ 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 เจฆเฉ€ เจธเฉฐเจชเจพเจฆเจ•เฉ€ เจŸเฉ€เจฎ เจตเฉฑเจฒเฉ‹เจ‚ เจฒเจฟเจ–เจฟเจ† เจ…เจคเฉ‡ เจคเฉฑเจฅเจพเจ‚ เจฆเฉ€ เจœเจพเจ‚เจš เจ•เฉ€เจคเฉ€ เจ—เจˆเฅค เจœเจพเจ‚เจšเฉ‡ เจ—เจ เจธเจฐเฉ‹เจค . เจธเฉฐเจชเจพเจฆเจ•เฉ€ เจจเฉ€เจคเฉ€ เจชเฉœเฉเจนเฉ‹เฅค