Real Interview Questions for the Software Engineer at Turkcell
NewInterview Q&A
Q&A-1Why do you want to work at Turkcell?
Reported in Turkcell Technology Research and Development - İşteMülakat.com
The 90-second answer
"I want to work on software where a bug is felt by a large part of the country the same day. Turkcell is the clearest place to get that in Turkey. I have worked on services with real traffic, but the scale and the constraints here are different. A payment or messaging path has to hold up on a normal Tuesday and during a match, a holiday, or an emergency alert. I want to be on the team that owns that path, sees the production graphs for it, and gets paged when it breaks. I also want to stay in Turkey and build for this market, and Turkcell Technology R&D is where the product work and the network work meet."
Stop there. The interviewer will pick one sentence and test it. If you mention Paycell, expect a question about duplicate charges. If you mention BiP, expect a question about reconnect storms. Pick the product you actually know best and be ready to go deep on it, rather than naming every Turkcell brand.
What I would point to
Turkcell publicly offers products such as BiP for messaging, Paycell for payments, and fizy for music. I would use one of them as the example, because each one forces a different engineering problem.
With Paycell, the problem I find interesting is a retry. A client sends a payment request, times out after two seconds, and sends it again. Without an idempotency key, the server cannot tell a retry from a second payment. With a key, it stores the key alongside the result and replays the first response. That is a small design decision with a direct effect on duplicate charges and on the reconciliation work that follows.
With BiP, the problem is what happens when a phone comes back online. Messages queued while the user was offline have to be delivered in order, and a large number of clients reconnecting at once can overwhelm the gateway. I would want to talk about queue depth, backpressure, and how delivery is confirmed, not just about sending a message.
You do not need both examples. One product, explained with a failure mode, sounds like a candidate who has thought about the work. A list of brands sounds like a candidate who read the careers page that morning.
When Turkcell would be the wrong choice
This is worth saying out loud, because it shows judgement. Turkcell is a large, regulated operator. Decisions go through architecture review, compliance, and coordination with network teams. That suits me if I want production scale and stability. It would not suit someone who wants to join a ten-person startup and rewrite the stack in a month, or someone who wants a research role with no on-call, or someone who wants fully remote work from outside Turkey. It also would not suit someone whose priority is a single global product built for every market at once. Turkcell builds first for Turkey, under Turkish regulation, for subscribers who expect the service to work in Turkish, on Turkish networks, during Turkish peak events. If that is not the work you want, you should not pretend it is.
| What you get | What you give up | |
|---|---|---|
| Turkcell | National scale, regulated production, close link between product and network | Slower change, on-call for consumer services, Istanbul-centred teams |
| Early-stage startup | Broad ownership, fast change | Less scale, less stability, higher product risk |
| Hyperscaler or global SaaS | Global platform, deep tooling | Work is often one narrow slice, less connection to the Turkish market |
I am choosing the first row for a reason I can defend. I want the scale and the accountability that come with it.
First 90 days
If asked what I would do at the start, I would keep it concrete. I would read the runbooks for the service I join, shadow its on-call for a few weeks, and take one incident and reproduce it in staging. Then I would ship a small fix and add the dashboard panel that shows whether it worked. That gives the team a reason to trust me with a larger change, and it gives me a real picture of how the system fails before I start proposing redesigns.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-2What are the standard OOP concepts and how do you apply them in your code?
Reported in Turkcell Technology Research and Development - İşteMülakat.com
The 90-second answer
The four I use daily are encapsulation, abstraction, inheritance, and polymorphism. In a Turkcell billing or subscriber service I would show them on one small domain, a tariff plan, rather than recite definitions.
Encapsulation means the object owns its invariants. A Subscriber does not expose a public status field that any caller can set to SUSPENDED and forget to stop charging. It exposes suspend(reason) and reactivate(), and those methods check the current state, write the audit record, and publish the event. Validation of the MSISDN, the state machine, and the money arithmetic live in one place.
Abstraction means callers depend on a narrow interface. BillingService depends on TariffPlan with monthlyCharge(Usage) and isActiveOn(LocalDate). It does not know whether the plan is prepaid, postpaid, or a campaign bundle. That is what lets a new campaign launch without editing the billing run.
Inheritance I use sparingly, usually only for a shared value type or a checked exception hierarchy. For behaviour that varies, I prefer composition. A plan composes a DiscountPolicy and a TaxPolicy. Swapping a campaign discount then means swapping a component, with its own tests, instead of adding another subclass to a hierarchy.
Polymorphism is the payoff. The billing loop iterates over List<TariffPlan> and calls the same method. Each implementation prices differently, and the loop stays unchanged.
Code, Java 17
public interface TariffPlan {
Money monthlyCharge(Usage usage);
boolean isActiveOn(LocalDate date);
}
public final class PostpaidPlan implements TariffPlan {
private final Money baseFee;
private final DiscountPolicy discount;
public PostpaidPlan(Money baseFee, DiscountPolicy discount) {
this.baseFee = Objects.requireNonNull(baseFee);
this.discount = Objects.requireNonNull(discount);
}
@Override
public Money monthlyCharge(Usage usage) {
Money raw = baseFee.plus(usage.dataGb().multiply(overageRate));
return discount.apply(raw, usage);
}
@Override
public boolean isActiveOn(LocalDate date) {
return !date.isBefore(startDate) && !date.isAfter(endDate);
}
}
public final class Subscriber {
private Status status = Status.ACTIVE;
public void suspend(String reason) {
if (status != Status.ACTIVE) {
throw new IllegalStateException("cannot suspend from " + status);
}
status = Status.SUSPENDED;
audit.record(this, "SUSPENDED", reason);
}
}Trace for one billing run: PostpaidPlan.monthlyCharge with base 300 TRY, 12 GB overage at 10 TRY/GB, and a 10% campaign discount returns (300 + 120) * 0.9 = 378 TRY. A PrepaidPlan in the same list returns its own figure through the same call site, so adding a plan type touches one new class and its tests.
| Choice | When it helps | Cost I watch for |
|---|---|---|
| Inheritance | Shared identity, a real is-a relation, one stable base | Fragile base class: a change to the parent silently alters every child |
| Composition | Discount, tax, pricing rules that vary independently | More wiring, so I keep the composed types small and constructor-injected |
| Interface plus polymorphism | Billing, charging, and notification loops over many variants | Interface grows into a god interface, so I split it when a method serves only one caller |
Failure modes I name in the loop
An anemic model: fields are public, logic sits in a SubscriberService with 2,000 lines. Encapsulation has failed, and every new caller reimplements the state check. I detect it when a transition like suspend appears in three places.
A broken substitution: a PrepaidPlan extends PostpaidPlan that overrides monthlyCharge to return zero for postpaid-only fields. Code written against PostpaidPlan then misprices. I keep the hierarchy flat and let the interface carry the contract.
Leaky abstraction: the interface exposes getInternalTariffId() because one report needs it, and now every implementation carries database detail. I move that to a separate query model.
That is how I apply the four concepts: state and rules inside the object, variation behind an interface, composition for the parts that change often, and inheritance only where the is-a relation is genuine and stable.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-3Walk through a mini case study?
Reported in Turkcell Technology Research and Development - İşteMülakat.com
The 90-second answer
I would pick one narrow slice and finish it end to end. For a telecom context, say: a prepaid subscriber starts a voice call, we rate it in real time, and we deduct the balance without double-charging on a retry or a concurrent second call.
I would state the assumptions first, because they change the design. Hypothetical figures for this walkthrough: 5 million prepaid subscribers, 20,000 concurrent calls at peak, balance stored in TL with three decimal places, and a call rated per 6-second block. The slice covers rating and deduction only. It does not cover CDR settlement, invoicing, or number porting.
The core idea is a ledger, not a mutable balance field. Every deduction is an immutable entry tied to a call id. The balance is derived, and a cached balance is rebuilt from the ledger if it drifts.
| Piece | Choice | Why |
|---|---|---|
| Ledger entry | call_id, subscriber_id, amount, seq, created_at | Replay and audit need the full history |
| Uniqueness | Unique constraint on call_id | A retried rating request cannot insert twice |
| Balance cache | Redis, key bal:{subscriber_id} | Fast check before allowing a call |
| Rating | Stateless service, tariff version pinned per call | A tariff change mid-call must not reprice it |
The deduction path
Java 17, inside a transaction:
@Transactional
public RatingResult rate(CallRated event) {
// Insert first. The unique key on call_id makes retries safe.
LedgerEntry entry = ledger.saveAndFlush(
LedgerEntry.of(event.callId(), event.subscriberId(),
event.amount(), event.seq()));
long balance = balanceCache.decrement(
event.subscriberId(), event.amount());
if (balance < 0) {
// Compensating entry, never an update to the first one.
ledger.save(LedgerEntry.reversal(event.callId(), event.amount()));
return RatingResult.rejected(balance);
}
return RatingResult.accepted(balance);
}Two concurrent calls for the same subscriber are the case that breaks a naive SELECT balance then UPDATE. Both read 10.00 TL, both deduct 6.00 TL, both pass. With the ledger insert as the gate, the second insert for a different call_id still succeeds, so the cache decrement has to be atomic. DECRBY on a scaled integer (kurus * 1000) is atomic in Redis, and the negative check after it catches the overspend. The reversal entry then makes the overspend visible instead of hiding it in a corrected balance.
Worked trace
Subscriber s_991, balance 10.000 TL. Two calls start together.
- Call A rates 6.000 TL. Ledger insert succeeds. Cache goes 10.000 to 4.000. Accepted.
- Call B rates 6.000 TL. Ledger insert succeeds. Cache goes 4.000 to -2.000. Rejected, reversal entry written.
- The switch gets the rejection for B and tears it down. A nightly job reconciles ledger sum against cache for a sample of subscribers and alerts on a mismatch over 0.001 TL.
If the rating service crashes after the ledger insert but before the cache decrement, the retry with the same call_id hits the unique constraint, returns the original result, and does not decrement twice. That is the idempotency contract I would put in the API: call_id is supplied by the switch, not generated by us.
Failure modes I would name in the loop
Cache eviction mid-call: the balance is rebuilt from the ledger sum for that subscriber, which is a range scan on subscriber_id. At 20,000 concurrent calls that rebuild has to be throttled, or a hot subscriber rebuilds repeatedly. I would add a short-lived lock per subscriber during rebuild.
Clock skew between switches: rating uses duration from the switch event, not our wall clock, so a skewed clock does not change the charge. Tariff version is stored on the ledger entry, so a dispute months later can be repriced with the tariff that was live at call time.
Ledger growth: at the hypothetical peak, 20,000 concurrent calls rating every 6 seconds is roughly 3,300 entries per second. I would partition the ledger table by month on created_at and archive closed months, because a single table at that rate makes the reconciliation scan painful within a year.
The follow-up I expect is why not just a database transaction with SELECT ... FOR UPDATE on the balance row. That works, and for a smaller prepaid base I would take it. At the stated peak it serialises every call for a subscriber on one row lock and couples rating latency to database latency. The ledger plus atomic cache split is more moving parts, and I would only defend it with the load test showing the row-lock version saturating first.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Curated: · Written: · Reviewed: