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

SDE - 1

Nokia
upvote
share-icon
2 rounds | 6 Coding problems

Interview preparation journey

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

Tip 1 : Focus on coding skills
Tip 2 : Focus on aptitude skills

Application process
Where: Campus
Eligibility: HacerRank
Resume Tip
Resume tip

Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 Minutes
Interview date5 May 2022
Coding problem5

- Morning time - Environment was good.
- N0 activity - Interviewer was good

1. Calculate XOR

Easy
23m average time
0/40
Asked in companies
SamsungNokia

You are given an integer 'N'. For this given integer, find the XOR of all the integers starting from 0 to 'N'.

Try solving now

2. Lexicographically Smallest Array

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

You have been given an array/list ARR consisting of ‘N’ integers. You are also given a positive integer ‘K’.

Your task is to find the lexicographically smallest ARR that can be obtained by swapping at most K consecutive elements.

An array/list P is lexicographically smaller than its permutation Q if and only if, for the earliest index at which P and Q differ, P's element at that index is smaller than Q's element at that index. Example, P = [1, 12, 4, 7, 8] is lexicographically smaller than Q = [1, 12, 8, 4, 7].

For example, if ARR = [70, 60, 90, 21, 11] and K = 3, then-

Swap 1: We swap adjacent elements 90 and 21. So, ARR after one swap is [70, 60, 21, 90, 11].
Swap 2: We swap adjacent elements 60 and 21. So, ARR after one swap is [70, 21, 60, 90, 11].
Swap 3: We swap adjacent elements 70 and 21. So, ARR after one swap is [21, 70, 60, 90, 11].
The lexicographically smallest ARR after K = 3 swaps is [21, 70, 60, 90, 11].
Try solving now

3. Sort the Permutation

Moderate
0/80
Asked in companies
AmazonCIS - Cyber InfrastructureNokia

You are the class teacher and you have a boring duty to get the class arranged according to roll numbers.

There are 'N' students in your class, each student has a roll number between 1 and N. You are also given an array 'ARR' indicating the initial arrangement of the students, and you need to rearrange them so they are sorted by roll number.

In order to make this process more interesting, you come up with an idea! To rearrange the students you can select any student and place him either at the beginning or at the end, and do this until all the students are sorted in increasing order of their roll numbers. You need to find the minimum such steps you need to perform to rearrange the students in increasing order of their roll numbers.

For Example :
If ‘N’ = 5, ‘ARR’ = {1, 2, 4, 5, 3}

You can sort the given arrangement in two steps. 

In the first step select the student with roll number 4 (ARR[2]) and place him at the end, the arrangement now becomes: {1, 2, 3, 5, 3, 4}. In the second step select the student with roll number 5 (ARR[3]) and place him at the end, resulting in the arrangement: {1, 2, 3, 4, 5} which is in sorted order.

It is not possible to sort the given arrangement in less than two steps, therefore we will print 2.
Try solving now

4. Count distinct Bitwise OR of all subarrays

Easy
10m average time
90% success
0/40
Asked in companies
OYOOlaSamsung R&D Institute

You are given an array consisting of N positive integers, your task is to count the number of distinct possible values that can be obtained by taking the bitwise OR of the elements of all possible subarrays of the given array

Note:

1) A subarray is a part of the array which is contiguous (i.e. elements in the original array occupy consecutive positions) and inherently maintains the order of elements. For example, the subarrays of the array {1, 2, 3} are {1}, {1, 2}, {1, 2, 3}, {2}, {2, 3}, and {3}.
2) Bitwise OR operation takes two numbers and performs OR operation on every bit of those two numbers. For example, consider two numbers 2 and 3 their bitwise OR will be 3. Because the binary representation of 2 is 10 and the binary representation of 3 is 11. And OR of 10 and 11 will be 11 which evaluates to 3.
3) The array may contain duplicate elements.
Try solving now

5. Multiply Strings

Moderate
35m average time
55% success
0/80
Asked in companies
FacebookAmazonIBM

You are given two big numbers ‘A’ and ‘B’ as strings. Your task is to find the product of both the numbers.

Note:

There are no leading zeros in both the strings, except the number 0 itself.
Do not use any built-in Big Integer Library.
For Example:
If, A = 123, and B = 456.
So the product of both numbers will be 56088.
Try solving now
02
Round
Medium
HR Round
Duration30 Minutes
Interview date8 Jun 2022
Coding problem1

- Morning time
- Environment was good.
- No other activity
- Interviewer was good

1. Basic HR Questions

What critical feedback do you most often receive?
What have been your most positive and negative management experiences?
Strength and Weekness?
Tell me about yourself?
Why you wants to join us?

Problem approach

Tip 1 : Practice in front of mirror
Tip 2 : Keep your communication smooth
Tip 3 : Keep calm

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
SDE - 1
2 rounds | 6 problems
Interviewed by Nokia
3431 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
SDE - 2
3 rounds | 3 problems
Interviewed by Nokia
288 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes