Level
Snippet · TypeScript
Find pair with target sum
function twoSum(nums: number[], target: number): number[] {
for (let i = 0; i < nums.length; i++) {
for (let j = i + 1; j < nums.length; j++) {
if (nums[i] + nums[j] === target) return [i, j];
}
}
return [];
}Explain this function out loud, then give one clear review comment: what works and what you'd change.
Review out loud
Explain the code briefly, then give a clear, kind comment — speak or type.
Use Chrome to record, or type.
FAQ
Questions
How do I practise giving a code review in English out loud?
Pick a short snippet, explain what the code does in one sentence, then say what is unclear or risky and suggest a next step. Record yourself here and compare with the model answer — speaking beats only writing comments.
How do I give a code review in English without sounding mean?
Name the problem, not the person, and suggest a next step. Pattern: what is hard to follow + a concrete ask. This drill scores clarity and gives kinder phrasing you can reuse on real PRs.
Do I need perfect English before I review code at work?
No. Clear structure matters more than accent or perfect grammar. Practise the same three beats every time: summary, concern, ask — then refine wording with the feedback here.
Is my recording saved?
No. Audio stays in your browser for transcription; we don’t store recordings or review text after feedback. Still avoid reading proprietary secrets aloud.
More questions? Email us at contact@speaktechenglish.com.
