Societe Generale Interview Questions: Technical and HR Answers Worked Through

Practise explaining a two-sum solution, a SQL outer join and a failed transfer. Then build motivation and teamwork answers around contributions you can defend.

KnowledgeGate Team

Exam prep & CS education

Updated 25 Nov 20266 min read
Societe Generale Interview Questions: Technical and HR Answers Worked Through

Knowing SQL or Java definitions is different from explaining a solution aloud and defending your project. These worked technical answers and honest HR structures help freshers prepare for software roles. These are representative practice questions, not verified past Societe Generale questions; the vacancy and recruiter instructions determine the actual process.

What to prepare for Societe Generale technical and HR discussions

Start with the job description. List its language, database and project expectations, then map each to one exercise and one truthful project example.

Societe Generale's candidate preparation advice includes guidance on motivation, explaining your suitability and soft skills. Prepare to connect what you know with what the advertised role requires.

For each technical answer, practise follow-ups on correctness, edge cases and complexity. For projects, answer “What did you implement?” before describing the team's result. The broader Placement Preparation category can help organise your preparation. The Persistent Systems Interview Questions: Technical Examples and HR Answers post focuses on a first-non-repeating-character trace, campus-program context and booking concurrency; Societe Generale preparation can instead pair a two-sum trace with customer transaction totals and idempotent payment retries.

Coding question: return indices of two values that sum to a target

Two-sum trace checks complements in a map and returns indices [0, 1] for 8 + 3 = 11.

Prompt: Given [8, 3, 6, 5] and target 11, return zero-based indices of two distinct elements whose sum is 11; return no pair if absent.

Store previously visited values and their indices in a hash map:

python
def two_sum(values, target):
    seen = {}
    for i, value in enumerate(values):
        complement = target - value
        if complement in seen:
            return [seen[complement], i]
        seen[value] = i
    return None

At index 0, the complement is 11 - 8 = 3. It is absent, so store {8: 0}. At index 1, the complement is 11 - 3 = 8. The map contains it at index 0, so return [0, 1]: 8 + 3 = 11.

Diagram traces a two-sum scan of [8, 3, 6, 5], highlighting indices 0 and 1 and showing complement misses and the hit for target 11.

Check the complement before inserting the current value. Otherwise, a lone 5 could incorrectly pair with itself for target 10.

  • [5, 5], target 10: [0, 1], using distinct indices.

  • [5], target 10: no pair.

  • Empty input: no pair.

Pair enumeration takes O(n^2) time; the map takes expected O(n) time and O(n) extra space. This version stops at the first pair. What changes if all pairs are needed? [2, 3] also qualifies because 6 + 5 = 11; define duplicate handling and account for output size.

SQL question: include customers with no successful transactions

Prompt: Return every customer and their total successful amount, including zero for customers with no successful transactions.

Customers:

id

name

1

Asha

2

Ravi

3

Meera

Transactions:

id

customer_id

amount

status

101

1

700

SUCCESS

102

1

300

FAILED

103

2

200

SUCCESS

104

2

500

SUCCESS

sql
SELECT c.id, c.name, COALESCE(SUM(t.amount), 0) AS successful_total
FROM Customers AS c
LEFT JOIN Transactions AS t
  ON t.customer_id = c.id AND t.status = 'SUCCESS'
GROUP BY c.id, c.name
ORDER BY c.id;

The join matches only successful transactions while retaining every customer. Grouping combines each customer's matches; COALESCE converts a NULL sum to zero.

id

name

successful_total

1

Asha

700

2

Ravi

700

3

Meera

0

Asha's failed 300 is excluded. Ravi's total is 200 + 500 = 700. Meera has no matching transaction, so her NULL sum becomes 0.

Moving t.status = 'SUCCESS' into WHERE removes Meera: her retained row has NULL transaction fields and fails that filter.

How would you count successful transactions? Use COUNT(t.id), giving 1, 2, 0. COUNT(*) counts the retained outer-join row and incorrectly gives Meera 1. Continue with SQL Interview Questions: 7 Joins and Subqueries Solved to practise these distinctions.

OOP and reliability questions: explain behaviour, then failure

What does this Java call print?

java
abstract class Shape { abstract int area(); }
class Rectangle extends Shape {
    private final int width = 3;
    private final int height = 4;
    @Override int area() { return width * height; }
}
Shape shape = new Rectangle();
System.out.println(shape.area());

It prints 12. The reference type exposes Shape's contract, while the runtime Rectangle supplies area(). The width and height stay private to the implementation; callers rely on the area contract. An interview follow-up can ask how validation would change if dimensions were constructor inputs.

A payment request with idempotency key r-17 charges 250 from a balance of 1000. What should happen if the client retries after losing the response?

The first committed attempt changes the balance to 1000 - 250 = 750 and records key r-17. A retry with the same key returns that recorded result and leaves the balance at 750; charging again would produce 500.

Write the key and ledger entry in the same transaction as the debit, protected by a unique constraint on the key. If the transaction fails before commit, neither the debit nor the key remains. If the response is lost after commit, the retry reads the existing key. This idempotency rule handles retries; it does not by itself solve concurrent requests with different keys.

HR questions: motivation, ownership and disagreement

Why Societe Generale and this role? Build a connection you can defend:

I want to work on software where correctness and reliability matter. In my project I handled [true responsibility]. The advertised [specific responsibility] connects with that experience, and I want to develop [relevant skill].

Replace every bracket with facts from your work and the vacancy. Use HR Interview: Why This Company & Role Answer Framework to refine that connection.

Tell me about a disagreement in your team. This hypothetical STAR example shows how to bound a claim:

  • Situation: In a four-person college project, two teammates disagreed about caching a dashboard.

  • Task: Decide whether repeated database work justified a design change.

  • Action: The candidate proposed measurement first. A test of 20 repeated requests revealed 12 duplicate database queries, then request-level reuse was introduced.

  • Result: Duplicate queries fell from 12 to 0 in that test.

Why should we hire you? Name one relevant skill, one contribution you can independently explain, and one learning gap with a concrete action. A model structure is: “I can demonstrate [skill] through [contribution]. I am improving [gap] by [specific practice].”

Answer traps that weaken otherwise correct preparation

Memorising code without checking constraints can produce a same-index pair. Repair this by tracing the single-element [5] case before declaring the solution correct.

Reciting “LEFT JOIN retains everything” ignores later filtering. Predict Meera's output with the status condition in ON, then in WHERE, before running the SQL.

Claiming sole ownership of a team result becomes difficult under “What did you implement?” State the division clearly. “I wrote the query and tests; my teammate built the UI” is a model.

Generic employer praise sounds interchangeable. Replace it with one verified vacancy requirement and a truthful example. When information is missing, do not invent internal technologies, round counts or scoring rules. Explain what you know and what you would clarify.

The short version and your next rehearsal

Run a 35-minute self-practice session: 10 minutes coding, 10 minutes SQL, 5 minutes OOP and transaction reasoning, and 10 minutes answering motivation and project questions aloud. That is 10 + 10 + 5 + 10 = 35 minutes.

Check one boundary case, one failure case and one personal contribution.

For structured interview and resume preparation, the Interview & Resume Preparation Course is a next step. Correct your weakest answer, then rehearse it again aloud.