DXC Technology
American multinational B2B IT services provider.
4 Rounds
~21 Days
Medium
The Interview Loop
Recruiter Screen (30 min)
Standard fit check, behavioral questions, and resume overview.
Technical Loop (3-4 Rounds)
Deep dive into domain knowledge, coding, and system design.
Interview Question Bank
Backend Engineer
•
Coding
•
easy
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. Assume exactly one solution exists.
#Arrays
#Hash Table
Backend Engineer
•
Coding
•
medium
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.
#Heap
#Quickselect
#Arrays
Backend Engineer
•
Coding
•
easy
Reverse a singly linked list. Provide both iterative and recursive solutions.
#Linked List
#Recursion
Backend Engineer
•
Coding
•
medium
Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.
#Arrays
#Sorting
Backend Engineer
•
Coding
•
medium
Given a string s, find the length of the longest substring without repeating characters.
#Strings
#Sliding Window
#Hash Set
Backend Engineer
•
Coding
•
medium
Given the root of a binary tree, return the level order traversal of its nodes' values. (i.e., from left to right, level by level).
#Trees
#Breadth-First Search (BFS)
#Queue
Backend Engineer
•
Coding
•
easy
Given a string s, find the first non-repeating character in it and return its index. If it does not exist, return -1.
#Strings
#Hash Table
Backend Engineer
•
Coding
•
medium
Design and implement a data structure for Least Recently Used (LRU) cache. It should support get and put operations in O(1) time complexity.
#Design
#Hash Table
#Doubly Linked List
Data Engineer
•
Coding
•
medium
Write a Python generator function that reads a file and yields one line at a time. Why is this useful?
#Python
#Generators
#Memory Management
Data Engineer
•
Coding
•
easy
Given a list of dictionaries representing employee records, write a Python function to sort the list by the 'salary' key in descending order.
#Python
#Sorting
#Data Structures
Data Engineer
•
Coding
•
medium
Write a Python function to parse a large server log file and return the top 5 most frequent IP addresses.
#Python
#File I/O
#Hash Maps
#Collections
Data Engineer
•
Technical
•
medium
How would you handle processing a 50GB file in Python on a machine with only 8GB of RAM?
#Python
#Generators
#Memory Management
#Chunking
Data Scientist
•
Coding
•
hard
Implement the K-Means clustering algorithm from scratch in Python. You do not need to optimize it, but the logic must be sound.
#Python
#Machine Learning Algorithms
#Math
Data Scientist
•
Coding
•
medium
Write a Python function from scratch to calculate the TF-IDF scores for a given list of documents without using Scikit-Learn.
#Python
#NLP
#Math Implementation
Data Scientist
•
Coding
•
easy
Given an array of integers and a target sum, write a Python function to return the indices of the two numbers that add up to the target. (Two Sum)
#Python
#Hash Maps
#Time Complexity
Frontend Engineer
•
Coding
•
hard
Write a function to deep clone a nested JavaScript object, ensuring you handle circular references.
#JavaScript
#Data Structures
#Recursion
Frontend Engineer
•
Coding
•
easy
Write a function that flattens a deeply nested array without using `Array.prototype.flat`.
#JavaScript
#Arrays
#Recursion
Full Stack Engineer
•
Coding
•
easy
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
#Strings
#Stacks
Full Stack Engineer
•
Coding
•
easy
Find the first non-repeating character in a string and return its index. If it does not exist, return -1.
#Strings
#Hash Tables
Full Stack Engineer
•
Coding
•
medium
Write a function to flatten a deeply nested JSON object into a single-level dictionary with dot-separated keys.
#Recursion
#Data Structures
#JSON
Full Stack Engineer
•
Coding
•
medium
Given a string s, find the length of the longest substring without repeating characters.
#Strings
#Sliding Window
#Hash Tables
Full Stack Engineer
•
Coding
•
medium
Write a function to merge an array of overlapping intervals into a new array of non-overlapping intervals.
#Arrays
#Sorting
Full Stack Engineer
•
Coding
•
easy
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
#Arrays
#Hash Tables
Machine Learning Engineer
•
Coding
•
hard
Write a Python function to calculate the ROC-AUC score given an array of true labels and an array of predicted probabilities, without using scikit-learn.
#Python
#Metrics
#Machine Learning Algorithms
Machine Learning Engineer
•
Coding
•
easy
Write a Python function to merge two sorted arrays into a single sorted array without using built-in sorting functions.
#Python
#Arrays
#Two Pointers
Machine Learning Engineer
•
Coding
•
medium
Given a list of customer transaction amounts, write a Python script to find the top K most frequent transaction values.
#Python
#Hash Maps
#Heaps
Machine Learning Engineer
•
Coding
•
hard
Implement a basic K-Means clustering algorithm from scratch in Python using NumPy.
#Python
#NumPy
#Machine Learning Algorithms
Software Engineer
•
Coding
•
medium
Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.
#Arrays
#Sorting
Software Engineer
•
Coding
•
easy
Write a function to find the first non-repeating character in a string and return its index. If it doesn't exist, return -1.
#Strings
#Hash Tables
Software Engineer
•
Coding
•
easy
Write a program to detect if a cycle exists in a linked list.
#Linked Lists
#Two Pointers
Software Engineer
•
Coding
•
medium
Given an array of strings, group the anagrams together. You can return the answer in any order.
#Hash Tables
#Strings
#Sorting
Software Engineer
•
Coding
•
easy
Implement a binary search algorithm to find a target value in a sorted array.
#Binary Search
#Arrays
Software Engineer
•
Coding
•
medium
Given the root of a binary tree, return the level order traversal of its nodes' values. (i.e., from left to right, level by level).
#Trees
#Breadth-First Search
#Queues
Software Engineer
•
Coding
•
medium
Find the longest substring without repeating characters in a given string.
#Sliding Window
#Hash Tables
#Strings
Software Engineer
•
Coding
•
easy
Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
#Stacks
#Strings
Difficulty Radar
Based on recent AI-sourced data.
Meet Your Interviewers
The "Standard" Interviewer
Senior EngineerFocuses on core competencies, system constraints, and clear communication.
SimulateUnwritten Rules
Think Out Loud
Always explain your thought process before writing code or drawing architecture.