Skip to content

Dell coding questions

Practice Dell coding questions in the style candidates report for online assessments and technical interviews. Focus: medium-hard DSA; graphs, DP, heaps, sliding window.

Item Typical expectation
Problems 1-3 coding tasks depending on drive
Skills medium-hard DSA; graphs, DP, heaps, sliding window
Languages Java, C++, Python (confirm invite)
Bar Correctness first, then complexity

Question 1: Longest substring without repeating chars

Section titled “Question 1: Longest substring without repeating chars”
Show approach

Approach: Sliding window + last-seen map.

Map<Integer, Integer> map = new HashMap<>();
for (int i = 0; i < nums.length; i++) {
// fill logic
}

Complexity: State time/space before coding. Test empty input and single-element cases.

Show approach

Approach: DFS/BFS flood fill on grid.

from collections import defaultdict
def solve(arr):
# fill logic
return arr

Complexity: State time/space before coding. Test empty input and single-element cases.

Show approach

Approach: Sort by start, merge overlaps.

from collections import defaultdict
def solve(arr):
# fill logic
return arr

Complexity: State time/space before coding. Test empty input and single-element cases.

Show approach

Approach: Count + heap of size k.

Map<Integer, Integer> map = new HashMap<>();
for (int i = 0; i < nums.length; i++) {
// fill logic
}

Complexity: State time/space before coding. Test empty input and single-element cases.

Question 5: Course schedule (cycle detection)

Section titled “Question 5: Course schedule (cycle detection)”
Show approach

Approach: Topological sort / DFS colors.

from collections import defaultdict
def solve(arr):
# fill logic
return arr

Complexity: State time/space before coding. Test empty input and single-element cases.

Show approach

Approach: Hash map + doubly linked list.

Map<Integer, Integer> map = new HashMap<>();
for (int i = 0; i < nums.length; i++) {
// fill logic
}

Complexity: State time/space before coding. Test empty input and single-element cases.

Show approach

Approach: DP boolean array on prefixes.

from collections import defaultdict
def solve(arr):
# fill logic
return arr

Complexity: State time/space before coding. Test empty input and single-element cases.

Day Drill
Mon Arrays + hashing (2 problems)
Tue Two pointers / sliding window
Wed Stacks / strings
Thu Trees or graphs basics
Fri Timed mock (2 problems / 90 min)
Sat Re-solve Friday misses cold
Sun Light CS theory + rest
  1. Coding before reading constraints
  2. Passing samples but failing hidden tests
  3. Silent complexity (cannot explain Big-O in interview)
  4. Switching languages mid-prep
  5. Never practicing on the real OA editor style

IBM · Cisco · VMware · Oracle · Google · Amazon