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

Software Engineer

MediaTek
upvote
share-icon
4 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: C, C++, Data Structure and Algorithms, Operating Systems, DBMS
Tip
Tip

Tip 1 : Must have good knowledge about C Pointers.
Tip 2 : Linked List, Stack, Queue and Recursion is the most important topics in DSA to focus on.
Tip 3 : Important topics to cover in Operating Systems are Mutex, Semaphores, Multithreading, Locks, Paging, Memory Management.

Application process
Where: Campus
Eligibility: Above 60% in all academics
Resume Tip
Resume tip

Tip 1 : Do not overload the resume with un-necessary information.
Tip 2 : Resume should be of 1 page only displaying your skills, education, projects, and basic contact info.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date1 Aug 2019
Coding problem2

Online Round consisting of 60 Technical MCQs and 2 DSA coding questions.

1. Reverse Alternate K nodes

Easy
10m average time
90% success
0/40
Asked in companies
AdobeIntuitSalesforce

You are given a Singly Linked List of integers and a positive integer 'K'. Modify the linked list by reversing every alternate 'K' nodes of the linked list.

A singly linked list is a type of linked list that is unidirectional, that is, it can be traversed in only one direction from head to the last node (tail).
Note:
If the number of nodes in the list or in the last group is less than 'K', just reverse the remaining nodes. 
Example:
Linked list: 5 6 7 8 9 10 11 12
K: 3 

Output: 7 6 5 8 9 10 12 11

We reverse the first 'K' (3) nodes and then skip the next 'K'(3) nodes. Now, since the number of nodes remaining in the list (2) is less than 'K', we just reverse the remaining nodes (11 and 12). 
Note:
You need to reverse the first 'K' nodes and then skip the 'K' nodes and so on. 5 6 7 10 9 8 11 12 is not the correct answer for the given linked list. 
Problem approach

Not able to solve it.

Try solving now

2. 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’.
Problem approach

While number is not zero, ANDing with 1 each time and incrementing the setbitscount value by 1 if bit is set and right shifting the number does the trick.

Try solving now
02
Round
Medium
Face to Face
Duration45 Minutes
Interview date1 Aug 2019
Coding problem1

Questions asked only about C language concepts i.e. pointers, structs, unions, strings etc.

1. Reverse string

Moderate
0/80
Asked in companies
IBMMcAfeeAdobe

You are given a string ‘S’. You are also given ‘M’ integers in an array ‘A’. You perform ‘M’ operations on this string. The operations are given in an array ‘A’ of size ‘M’.

You perform the operations in the order they appear in the array ‘A’. In the ‘i’th operation, you reverse the substring of ‘S’ from the position ‘A[i]’ to ‘len(S)’ - ‘A[i]’ - 1 (0 based).

Your task is to find the string after performing all the operations.

Example :
‘S’ = “aabcd”, ‘M’ = 2, ‘A’ = [0, 1]
After 1st operation i.e, reversing from [0, 4], ‘S’ = “dcbaa”.
After 2nd operation i.e, reversing from [1, 3], ‘S’ = “dabca”.
Hence, the answer is “dabca”.
Problem approach

Using two pointers approach.

Try solving now
03
Round
Medium
Face to Face
Duration30 Minutes
Interview date1 Aug 2019
Coding problem1

OS and DBMS questions were asked only.

1. Operating System Questions

Semaphores ?
Mutex ?
Multithreading ?
Paging vs Swapping ?

Problem approach

Tip 1: Read Galvin for OS
Tip 2: Practice SQL queries (JOINs especially)

04
Round
Easy
HR Round
Duration15 Minutes
Interview date1 Aug 2019
Coding problem1

General questions were asked about myself and family background.

1. Basic HR questions

Where are you from? Who is in your family and what they do ? Why you took MCA ?

Problem approach

Tip 1: Communicate properly
Tip 2: Don't be nervous.

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
Software Engineer
2 rounds | 1 problems
Interviewed by MediaTek
4535 views
0 comments
0 upvotes
Software Engineer
3 rounds | 3 problems
Interviewed by MediaTek
1584 views
0 comments
0 upvotes
Software Engineer
2 rounds | 8 problems
Interviewed by MediaTek
1490 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
7873 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