Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Zomentum Software Developer Interview Experience (On Campus)

  • Last Updated : 31 Aug, 2020

Round 1: Online Coding Round conducted on HackerEarth platform. The test was of 1hr 15min. It comprised of 8MCQ questions and 3 programming questions. MCQ questions were on Java and C++. Basic OOPs and algorithm questions (no negative marking).

The three programming questions were:

Hey geek! It's time to become a success story instead of reading them. Check out our most renowned DSA Self Paced Course, now at a student-friendly price and become industry ready. And if you are looking for a more complete interview preparation resource, check out Complete Interview Preparation Course that will prepare you for the SDE role of your dreams!

Feeling prepared enough for your interview? Test your skills with our Test Series that will help you prepare for top companies like Amazon, Microsoft, TCS, Wipro, Google and many more!

Question1: Given an integer n, denoting an n*n empty matrix. You are given K tasks, in each task you are given a cell(i,j) where cell(i,j) represents the ith row and jth column of the given matrix.



For each task, you have to place X in each cell of row I and each cell of column j. You are required to print empty cells after each task, in the matrix.

Example:

Input:
3 3
1 1
1 3
3 2
Output:
4 2 0

Question 2: Given, a string S of length n and only lowercase letters, you have to perform q queries, each having two spaced separate integers l and r. For each query, you have to print the number of substrings in string S that start and end with the same character.

Example:

Input:
6 4
abcaab
1 1
2 5
3 6
1 6
Output:
1
5
5
10

Question 3: Another question based on performing queries in an array, which I don’t remember clearly. Unfortunately, I wasn’t selected for the further rounds.

Hope this information helps.

My Personal Notes arrow_drop_up
Recommended Articles
Page :