Software Developer 2 Interview Questions

2,525 software developer 2 interview questions shared by candidates

2️⃣ Count Subarrays With All Distinct Elements Problem Given an array, count the number of subarrays whose number of distinct elements is equal to the total number of unique elements in the entire array. Key Concepts Sliding Window Frequency map Two pointers Exactly K distinct elements
avatar

SDE-2 Backend

Interviewed at Innovaccer

3
Feb 28, 2026

2️⃣ Count Subarrays With All Distinct Elements Problem Given an array, count the number of subarrays whose number of distinct elements is equal to the total number of unique elements in the entire array. Key Concepts Sliding Window Frequency map Two pointers Exactly K distinct elements

1️⃣ Symmetric (Mirror) Binary Tree Problem Given the root of a binary tree, check whether it is a mirror of itself (i.e., symmetric around its center). Key Concepts DFS / BFS Mirror comparison Tree recursion Queue-based traversal
avatar

SDE-2 Backend

Interviewed at Innovaccer

3
Feb 28, 2026

1️⃣ Symmetric (Mirror) Binary Tree Problem Given the root of a binary tree, check whether it is a mirror of itself (i.e., symmetric around its center). Key Concepts DFS / BFS Mirror comparison Tree recursion Queue-based traversal

Viewing 1201 - 1210 interview questions

Glassdoor has 2,525 interview questions and reports from Software developer 2 interviews. Prepare for your interview. Get hired. Love your job.