Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Arcesium interview experience Real time questions & tips from candidates to crack your interview

SDE - 2

Arcesium
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

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

Tip 1 : Practice at least 250 Questions
Tip 2 : Do at least 2 good projects

Application process
Where: Referral
Eligibility:
Resume Tip
Resume tip

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

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 minutes
Interview date8 Apr 2022
Coding problem2

2 coding questions

1. Maximum Subarray Sum

Moderate
25m average time
75% success
0/80
Asked in companies
Paytm (One97 Communications Limited)AmazonSnapdeal

Given an array of numbers, find the maximum sum of any contiguous subarray of the array.


For example, given the array [34, -50, 42, 14, -5, 86], the maximum sum would be 137, since we would take elements 42, 14, -5, and 86.


Given the array [-5, -1, -8, -9], the maximum sum would be -1.


Follow up: Do this in O(N) time.

Try solving now

2. Reversing a Queue

Easy
10m average time
90% success
0/40
Asked in companies
Goldman SachsArcesiumMAQ Software

You are given a queue of 'N' elements. Your task is to reverse the order of elements present in the queue.

You can only use the standard operations of the QUEUE STL.

1. enqueue(x): Add an item x to the rear of the queue.

2. dequeue(): Removes an item from the front of the queue.

3. size(): Returns the number of elements in the queue.

4. front(): Finds front element.

5. empty(): Checks whether the queue is empty or not.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date12 Apr 2022
Coding problem1

1. Palindromic Substrings

Moderate
20m average time
80% success
0/80
Asked in companies
SalesforceMicrosoftInfosys

You have been given a string STR. Your task is to find the total number of palindromic substrings of STR.

Example :
If the input string is "abbc", then all the possible palindromic substrings would be: ["a", "b", "b", c", "bb"] and hence, the output will be 5 since we have 5 substrings in total which form a palindrome.
Note :
A string is said to be a 'Palindrome' if it is read the same forwards and backwards. 
For example, “abba” is a palindrome, but “abbc” is not.

A 'Substring' is a contiguous sequence of characters within a string. 
For example, "a", "b", "c", "ab", "bc", "abc" are substrings of "abc".
Problem approach

Idea here is to try and find the string using a brute force string searching algorithm (n * m). The only difference here is to calculate the modulus (i % n) when the counter reaches the end of the string.

Try solving now
03
Round
Easy
HR Round
Duration50 minutes
Interview date15 Apr 2022
Coding problem1

An engineering manager took this. The interview began with his introduction, followed by mine.

1. Basic HR Questions

  • What do you think makes you different from others?
  • Are you willing to reallocate?

Here's your problem of the day

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

Skill covered: Programming

How do you write a single-line comment in C++?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by Arcesium
1248 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 7 problems
Interviewed by Arcesium
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Arcesium
0 views
0 comments
0 upvotes
company logo
5 rounds | 10 problems
Interviewed by Arcesium
169 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
7864 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 3 problems
Interviewed by Tata Consultancy Services (TCS)
1345 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
919 views
1 comments
0 upvotes