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

Software Engineer

Cogoport
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
My journey has been very challenging. Coming from a middle-class family, I didn't have access to a computer for a long time. I learned about computers when I joined college, and from there, I never looked back.
Application story
This was an on-campus placement opportunity for me. The company visited my campus for the placement.
Why selected/rejected for the role?
This was a great experience for me. I performed well, and I am satisfied with the effort I have put forward.
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Prepare your resume well.

Tip 2: Deploy your projects so the interviewer can view them, and provide a hyperlink on your resume.

Tip 3: Be thorough with Data Structures and Algorithms. Also, prepare well for topics such as Operating Systems (OS) and Database Management Systems (DBMS).

Application process
Where: Campus
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1: Deploy your projects so that the interviewer can view them. Also, provide a hyperlink on your resume
Tip 2: It's not essential to have fancy projects. Only mention those on which you're confident.

Interview rounds

01
Round
Easy
Video Call
Duration60 Minutes
Interview date17 Feb 2023
Coding problem2

Within the computer networking section, we were asked to discuss network security topics such as encryption algorithms, authentication protocols, firewalls, and VPNs. We were expected to explain the principles and techniques used to secure network communications.

1. Dice Throws

Hard
35m average time
65% success
0/120
Asked in companies
MicrosoftDisney + HotstarShareChat

You are given D dice, each having F faces numbered 1 to F, both inclusive. The task is to find the possible number of ways to roll the dice together such that the sum of face-up numbers equal the given target S.

Note :
As the answer can be large, return your answer modulo 10^9  + 7.
Follow Up :
Can you solve this using not more than O(S) extra space?
Try solving now

2. Group Anagrams

Moderate
30m average time
70% success
0/80
Asked in companies
AmazonAtlassianThales

You have been given an array/list of strings 'inputStr'. You are supposed to return the strings as groups of anagrams such that strings belonging to a particular group are anagrams of one another.

An anagram is a word or phrase formed by rearranging the letters of a different word or phrase. We can generalize this in string processing by saying that an anagram of a string is another string with the same quantity of each character in it, in any order.

Note:
The order in which the groups and members of the groups are printed does not matter.
For example:
inputStr = {"eat","tea","tan","ate","nat","bat"}
Here {“tea”, “ate”,” eat”} and {“nat”, “tan”} are grouped as anagrams. Since there is no such string in “inputStr” which can be an anagram of “bat”, thus, “bat” will be the only member in its group.
Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date17 Feb 2023
Coding problem3

1. OS Questions

1. When does deadlock occur? (Learn)
2. What is the difference between process and threads? (Learn)

Problem approach

Tip 1: Always give a structured answer. For example, first tell the definition and then quote a few supporting examples.

2. OOPS Questions

1. What is the difference between static polymorphism and runtime polymorphism?
2. What is a copy constructor? Tell anyone to use it. (Learn)
3. Define Encapsulation. (Learn)

Problem approach

Tip 1: Always think properly before saying your answer. Try to communicate clearly.
Tip 2: Coding Ninja's Data Structures and Algorithms in C++ course helped me a lot in clearing my OOPS concepts.
Tip 3: Along with definitions, try to give examples also.

3. Count Set Bits

Hard
15m average time
85% success
0/120
Asked in companies
HSBCSamsungBank Of America

You are given a positive integer ‘N’. Your task is to find the total number of ‘1’ in the binary representation of all the numbers from 1 to N.

Since the count of ‘1’ can be huge, you are required to return it modulo 1e9+7.

Note:
Do not print anything, just return the number of set bits in the binary representation of all integers between 1 and ‘N’.
Try solving now
03
Round
Easy
Video Call
Duration60 Minutes
Interview date17 Feb 2023
Coding problem2

1. Smallest number whose digits multiplication is ‘N’

Moderate
15m average time
85% success
0/80
Asked in companies
OlaHewlett Packard EnterpriseCogoport

You are given a positive integer ‘N’. The task is to find and return the smallest number, ‘M’, such that the multiplication of all the digits in ‘M’ is equal to ‘N’. If no such ‘M’ is possible or ‘M’ cannot fit in a 32-bit signed integer, return 0.

Example:
‘N’ = 90

Possible values for ‘M’ are:
1. 259 (2*5*9 = 90) 
2. 3352 (3*3*5*2 = 90) 
3. 2335 (2*3*3*5 = 90) 
4. 952 (9*5*2 = 90), and so on.
Here, ‘259’ is the smallest possible ‘M’. Thus, you should return ‘259’ as the answer.
Try solving now

2. Technical Questions

1. How does the C compiler work? 

2. What are deadlocks and why does it happen?

3. How to resolve deadlock?

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
Software Engineer
2 rounds | 4 problems
Interviewed by Cogoport
709 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
3451 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