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

SDE - 1

Nosh technologies
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
Embarking on my B.Tech journey at IGDTUW was a thrilling experience that began with an orientation day buzzing with excitement. As I navigated through classes, I discovered the fascinating world of coding. It all started with attending coding clubs and workshops, and before long, I was hooked. Balancing academics with extracurricular activities became my norm, as I joined robotics and coding societies and immersed myself in cultural events.
Application story
This company visited my campus for placement opportunities. We applied for this opportunity through their career portal.
Why selected/rejected for the role?
I was rejected because I was not able to answer all the coding questions that were asked during the interview.
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Practice regularly on coding platforms and websites.

Tip 2: Consistent coding practice is crucial for improving your problem-solving skills and familiarity with various algorithms and data structures.

Tip 3: Set aside dedicated time each day to solve coding challenges on platforms like Code Studio.

Tip 4: This consistent practice will enhance your coding proficiency and build confidence.

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

Tip 1: Have some projects on your resume. 

Tip 2: Do not put false information on your resume.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date20 Dec 2022
Coding problem2

1. Anagram Pairs

Moderate
30m average time
60% success
0/80
Asked in companies
NearbuyAppleAmerican Express

You are given two strings 'str1' and 'str1'.


You have to tell whether these strings form an anagram pair or not.


The strings form an anagram pair if the letters of one string can be rearranged to form another string.

Pre-requisites:

Anagrams are defined as words or names that can be formed by rearranging the letters of another word. Such as "spar" can be formed by rearranging letters of "rasp". Hence, "spar" and "rasp" are anagrams. 

Other examples include:

'triangle' and 'integral'
'listen' and 'silent'
Note:
Since it is a binary problem, there is no partial marking. Marks will only be awarded if you get all the test cases correct. 
Problem approach

Step 1: Convert each string into a char array.
Step 2: Sorted the two arrays.
Step 3: Compare the two arrays at each index.
Step 4: If at any index the letters do not match then return 'no' otherwise return 'yes'

Try solving now

2. 0 1 Knapsack

Moderate
0/80
Asked in companies
AmazonTwitterInnovaccer

A thief is robbing a store and can carry a maximum weight of ‘W’ into his knapsack. There are 'N' items available in the store and the weight and value of each item is known to the thief. Considering the constraints of the maximum weight that a knapsack can carry, you have to find the maximum profit that a thief can generate by stealing items.

Note: The thief is not allowed to break the items.

For example, N = 4, W = 10 and the weights and values of items are weights = [6, 1, 5, 3] and values = [3, 6, 1, 4]. Then the best way to fill the knapsack is to choose items with weight 6, 1 and 3. The total value of knapsack = 3 + 6 + 4 = 13.

Problem approach

Rob has gone to Mars to collect some stones. The bag he carries can hold a maximum weight of M. M stones weighing from 1 to M on Mars. There are N stones on Mars that are similar to the ones on Earth. Find the number of stones he can bring from Mars such that none are similar to any stone on Earth.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date21 Dec 2022
Coding problem2

1. Compress the String

Moderate
25m average time
60% success
0/80
Asked in companies
AdobeMathworksCIS - Cyber Infrastructure

Ninja has been given a program to do basic string compression. For a character that is consecutively repeated more than once, he needs to replace the consecutive duplicate occurrences with the count of repetitions.

Example:

If a string has 'x' repeated 5 times, replace this "xxxxx" with "x5".

The string is compressed only when the repeated character count is more than 1.

Note :

The consecutive count of every character in the input string is less than or equal to 9.
Problem approach

Write a function that returns the order of characters as a string in the alien language. This dictionary will be given to you as an array of strings called 'dictionary', of size 'N'.

Try solving now

2. Alien dictionary

Easy
10m average time
70% success
0/40
Asked in companies
Thought WorksNagarro SoftwareTCS

Ninja is learning a new but strange language known as Alien Language. Alien language possesses the same alphabets as of English language, but their order is different. The order of letters are given as ‘ORDER’ string. Ninja has ‘N’ words in the ‘WORDS’ array. Ninja’s task is to check whether the words of ‘WORDS’ are sorted lexicographically in this alien language or not.

Note: ‘ORDER’ consists of all 26 letters of English alphabet.

For Example
If ‘WORDS’ = ["word","world","row"], ‘ORDER’ = "worldabcefghijkmnpqstuvxyz",the answer will be ‘NO’ as first and second words are not lexicographically sorted as ‘l’ comes before ‘d’ in alien language.
Problem approach

Alien language possesses the same alphabets as of English language, but their order is different. The order of letters is given as ‘ORDER’ string. Ninja has ‘N’ words in the ‘WORDS’ array. Ninja’s task is to check whether the words of ‘WORDS’ are sorted lexicographically in this alien language or not.
Note: ‘ORDER’ consists of all 26 letters of the English alphabet.

Try solving now
03
Round
Easy
Video Call
Duration60 minutes
Interview date22 Dec 2022
Coding problem2

1. Spiral Order Traversal of a Binary Tree

Easy
20m average time
75% success
0/40
Asked in companies
SliceOYOMicrosoft

You have been given a binary tree of 'N' nodes. Print the Spiral Order traversal of this binary tree.

For example
For the given binary tree [1, 2, 3, -1, -1, 4, 5, -1, -1, -1, -1]
    1
   / \
  2   3
     / \
    4   5

Output: 1 3 2 4 5
Problem approach

You have been given a binary tree of 'N' nodes. Print the Spiral Order traversal of this binary tree.

Try solving now

2. Check If The String Is A Palindrome

Easy
10m average time
90% success
0/40
Asked in companies
SprinklrCIS - Cyber InfrastructureSamsung

You are given a string 'S'. Your task is to check whether the string is palindrome or not. For checking palindrome, consider alphabets and numbers only and ignore the symbols and whitespaces.

Note :

String 'S' is NOT case sensitive.

Example :

Let S = “c1 O$d@eeD o1c”.
If we ignore the special characters, whitespaces and convert all uppercase letters to lowercase, we get S = “c1odeedo1c”, which is a palindrome. Hence, the given string is also a palindrome.
Problem approach

You are given a string 'S'. Your task is to check whether the string is palindrome or not. For checking palindrome, consider alphabets and numbers only and ignore the symbols and whitespaces.

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
SDE - 1
3 rounds | 6 problems
Interviewed by Nosh technologies
360 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Nosh technologies
461 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Nosh technologies
344 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Nosh technologies
362 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
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes