Sophos interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Sophos
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3.5 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Practice coding
Tip 2 : practice aptitude
Tip 3 : prepare for the core subjects

Application process
Where: Campus
Eligibility: 7.5 cgpa
Resume Tip
Resume tip

Tip 1 : Write short resume
Tip 2 : Never lie about things

Interview rounds

01
Round
Easy
Video Call
Duration120 Minutes
Interview date1 Sep 2021
Coding problem2

It had 10 MCQ questions and 2 coding questions. The coding questions were easy but they had to be solved in C programming language.

1. Pair Sum

Easy
15m average time
90% success
0/40
Asked in companies
SalesforceUberPayU

You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.

Note:

Each pair should be sorted i.e the first value should be less than or equals to the second value. 

Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
Problem approach

use loop

Try solving now

2. Delete a Node from Linked List

Moderate
40m average time
67% success
0/80
Asked in companies
QualcommFreshworksSamsung

You have been given a linked list of integers. Your task is to write a function that deletes a node from a given position, 'POS'.

Note :
Assume that the Indexing for the linked list always starts from 0.

If the position is greater than or equal to the length of the linked list, you should return the same linked list without any change.
Illustration :
The following images depict how the deletion has been performed.

Image-I :

Alt txt

Image-II :

Alt txt

Problem approach

compare each node with given value and remove the pointer

Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date2 Sep 2021
Coding problem2

The second round was an interview with the Manager, where mostly the coding questions were asked of easy to medium level of difficulty. 

1. All Prime Numbers less than or equal to N

Moderate
10m average time
90% success
0/80
Asked in companies
OptumIBMAdobe

You are given a positive integer 'N'. Your task is to return all the prime numbers less than or equal to the 'N'.

Note:

1) A prime number is a number that has only two factors: 1 and the number itself.

2) 1 is not a prime number.
Try solving now

2. All substrings

Easy
0/40
Asked in company
Oracle

For a given input string(str), write a function to print all the possible substrings.

Substring
A substring is a contiguous sequence of characters within a string. 
Example: "cod" is a substring of "coding". Whereas "cdng" is not as the characters taken are not contiguous
Try solving now
03
Round
Easy
Video Call
Duration60 Minutes
Interview date2 Sep 2021
Coding problem1

It was with the other members of the company. The questions that were asked in this round were based on a linked list (easy difficulty level). A few questions related to a project on the C programming language in the resume were also asked.

1. Sort Linked List

Easy
15m average time
85% success
0/40
Asked in companies
AdobePayPalFreshworks

You are given a Singly Linked List of integers which is sorted based on absolute value.

You have to sort the Linked List based on actual values.

The absolute value of a real number x, denoted |x|, is the non-negative value of x without regard to its sign.

Example:
If the given list is {1 -> -2 -> 3} (which is sorted on absolute value), the returned list should be {-2 -> 1 -> 3}.
Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
961 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7874 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes