Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

Редакция КоммитРедакция портала
commit fd59a97 · 15 days ago

Grading interviews, part 6: behavioral questions on STAR, live coding, test assignments, and salary negotiations

🌐 Machine-translated from Russian. Show original

In this part:

Behavioral issues#

Questions like "Tell me about a case when..." check how you really behaved in the past. Interviewer logic: past behavior is the best prediction of the future. The higher the grade, the more weight these questions have: for leads, they can take up half the interview.

STAR Method#

LetterWhat to tellShare of the answer
S — Situationcontext: where, when, what was the situationbriefly
T — Taskyour task or problembriefly
A — Actionwhat you personally did and whythe main part of the
R — Resultresult, preferably measurable, and conclusionsnecessarily

Common mistakes: long backstory and crumpled actions; "we did it" instead of "I did it"; no result; a story where you are the hero and everyone around is a fool.

Sample answer#

Question: "Tell us about the most serious mistake at work."

S: I administered the infrastructure of a trading company, about 80 users.
T: I needed to update the 1C server on weekends, without downtime during business hours.
A: I updated the platform but did not check compatibility with the external print processing version. On Monday morning, warehouses could not print invoices. I rolled back the platform on warehouse clients in 40 minutes, informed the manager what happened and how long the fix would take, and in the evening updated processing on the test base and only then on the work base.
R: The downtime lasted about an hour on one site. After that, I ran a test copy of the database and an update checklist — the next updates went through without incidents.

It has everything: honest confession, personal actions, communication, inference, and process change.

Prepare 5–7 stories#

One story can be used for different questions. Minimum set:

  1. A complex technical problem you solved.
  2. Mistake or failure and conclusions from it.
  3. Conflict or disagreement with a colleague or client.
  4. A situation with tight deadlines or uncertainty.
  5. When you have improved the process or automated the routine.
  6. When I had to learn something quickly.
  7. For senior/lead — when you helped a colleague grow or influenced the team's decision.

Typical grade questions#

  • Junior: why you chose this profession; how you learn something new; a study or pet project you are proud of; what you will do if you don't understand the task.
  • Middle: the most difficult task of the past year; how you assess deadlines; disagreement with the team lead solution; how you work with code review.
  • Senior: a decision you later regretted; how you influenced the architecture; how you mentored colleagues; how you refused a client.
  • Lead: how they were fired or given difficult feedback; how they prioritized when there was a shortage of people; conflict in the team; how the team was protected before the business and vice versa.

Live coding#

The task is solved by the interviewer — in the editor, online service, or on the board. They check not only the result but also how you think.

Algorithm for a task#

  1. Rephrase the task in your own words and specify: login format, blank data, size, and whether the original data can be changed.
  2. Analyze the example by hand, including the boundary case.
  3. Suggest a simple solution, even a slow one, and name its complexity.
  4. Improve it if you have time: "you can do it faster with the dictionary."
  5. Write the code, saying what you are doing.
  6. Check with examples, including borderline ones. Find the error yourself — that's a big plus.

Mini-example dialogue:

Candidate: "Am I correct in understanding: the input list of numbers may be empty, should I return the second largest number? If all numbers are the same—what should be returned?"
Interviewer: "Let it be None."
Candidate: "Then you can sort — that's O(n log n), but one pass is enough, keeping two maxima — O(n). I'll start with the pass."

def second_max(nums: list[int]) -> int | None:
    first = second = None
    for x in nums:
        if first is None or x > first:
            first, second = x, first
        elif x != first and (second is None or x > second):
            second = x
    return second


assert second_max([3, 1, 4, 4]) == 3
assert second_max([5, 5]) is None
assert second_max([]) is None
assert second_max([-1, -2]) == -2

If you're "stuck" — say it and think aloud: the interviewer is often ready to give a hint, and the ability to accept it is also evaluated.

Test assignments#

How to distinguish a normal test from an incorrect test#

NormalAlarm signal
takes several hours, the deadline is"do it over the weekend" for a week
clear requirements and evaluation criteriavague TK and 'show what you can do'
study or isolated tasksimilar to a real company task "free"
provide feedback on the results ofsilence after the

If the task is large, it's normal to ask: "How much time do you expect to spend on it? Is it possible to make a simplified version?" Some companies pay for extensive test tests — you can ask about that as well.

How to pass the test well#

  • README: how to run, what has been done, which assumptions have been made, to improve with more time.
  • A clean commit history, not a single "done" commit.
  • At least tests on key logic.
  • No secrets in the repository — settings through environment variables and an example .env.example.
  • It's better to do less but with quality than everything else, but in a hurry. Explain what you deliberately didn't do.

Salary negotiations#

Before the interview#

  • Explore the market: vacancies with forks (in the "Vacancies" section on the portal, a fork is mandatory), open reviews familiar in the industry. We collect community data — the survey "Salaries in IT Kazakhstan: collecting honest data together" on the portal; the more participants, the more accurate the picture.
  • Identify three numbers: desired, comfortable, and minimal, below which you will not go.
  • Consider the entire package: bonuses, medical insurance, training, remote work, equipment, payment for overtime and on-call shifts.

How to name the amount#

  • Answer with a fork where the lower bound is the amount comfortable for you: "I consider proposals from X to Y depending on the tasks and conditions."
  • Clarify the amount — 'net worth' or before taxes and contributions (individual income tax, pension contributions, VOSMS). This is a common cause of misunderstandings in Kazakhstan. If you work under a contract with an individual entrepreneur — discuss who pays taxes and how vacations are processed.
  • If asked about the current salary, you can shift the conversation to expectations: "It's more important for me to discuss how much this role costs with such tasks."

When the offer arrived#

  1. Thank you and ask for a written offer: amount, upgrade, probation period and salary for it, bonuses, release date, work format.
  2. Take time to decide — one to three days is fine.
  3. Negotiate arguments, not ultimatums: another offer, market data, experience the company needs. "I'm very interested in the role. Is there a way to revise the amount to X? Here's why..."
  4. If you couldn't agree on the money, discuss something else: a review after the probation period with specific criteria, a graduation bonus, training, remote days.
  5. Don't bluff about other offers — the market is tight.

Counteroffer from the current employer#

It often addresses the issue of money, but not the reason why you started looking for a job. Before agreeing, honestly answer yourself: what will change besides the amount?

Candidate's final checklist#

  • I understand what grade I am applying for, and I can justify it with examples
  • He went through the questions in his field (parts 2–5) and said the answers aloud
  • Prepared 5–7 stories on STAR
  • Solved several tasks with a timer and comments aloud
  • I know my plug and what's included in the package
  • Prepared questions for the employer
  • After each interview, I write down what was asked and where I "drifted" — this is the best plan for preparing for the next one

💬 Which interview question stood out to you the most? Share in the comments — we'll compile a live database of community questions (without company names if it's under NDA).

🎉 Series completed. Return to contents.

Comments 01 участник · 0 гостей🔒 Rate and discuss after signing up

Comments · 0

No comments yet.Sign in to comment, rate and see all comments.