Veridic Private Limited interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Veridic Private Limited
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I kept practicing DSA and CS fundamentals from the 3rd year of Engineering. Along with it, I was also learning web development, and I made some good projects.
Application story
This company visited our campus to hire, and I applied for the same. It has many rounds, starting with an online assessment.
Why selected/rejected for the role?
I was rejected because I could not give a concise and good solution for the question being asked to me.
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Mention some good projects on your resume.
Tip 2: Be confident and believe in yourself.
Tip 3: Be proficient with computer science basics and DS and Algo.
 

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1: Good Projects.
Tip 2: Having some achievements is a plus point.
 

Interview rounds

01
Round
Easy
Face to Face
Duration45 minutes
Interview date15 Mar 2023
Coding problem2

1. House Robber

Moderate
26m average time
0/80
Asked in companies
SamsungAmazonQuikr

A thief wants to loot houses. He knows the amount of money in each house. He cannot loot two consecutive houses. Find the maximum amount of money he can loot.

Try solving now

2. Search in Rotated Sorted Array

Moderate
30m average time
65% success
0/80
Asked in companies
FreshworksExpedia GroupPayPal

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated it clockwise by an unknown amount. For example, he took a sorted array = [1, 2, 3, 4, 5] and if he rotates it by 2, then the array becomes: [4, 5, 1, 2, 3].

After rotating a sorted array, Aahad needs to answer Q queries asked by Harshit, each of them is described by one integer Q[i]. which Harshit wanted him to search in the array. For each query, if he found it, he had to shout the index of the number, otherwise, he had to shout -1.

For each query, you have to complete the given method where 'key' denotes Q[i]. If the key exists in the array, return the index of the 'key', otherwise, return -1.

Note:

Can you solve each query in O(logN) ?
Problem approach

The idea is that when rotating the array, there must be one half of the array that is still in sorted order.

Try solving now
02
Round
Easy
Face to Face
Duration45 minutes
Interview date15 Mar 2023
Coding problem2

1. Right View

Moderate
35m average time
65% success
0/80
Asked in companies
AdobeSAP LabsRazorpay

You have been given a Binary Tree of integers.

Your task is to print the Right view of it.

The right view of a Binary Tree is a set of nodes visible when the tree is viewed from the Right side and the nodes are printed from top to bottom order.

Try solving now

2. Sliding Maximum

Moderate
25m average time
85% success
0/80
Asked in companies
AmazonAmerican ExpressSquadstack

You are given an array 'ARR' of integers of length 'N' and a positive integer 'K'. You need to find the maximum elements for each and every contiguous subarray of size K of the array.

For example
'ARR' =  [3, 4, -1, 1, 5] and 'K' = 3
Output =  [4, 4, 5]

Since the maximum element of the first subarray of length three ([3, 4, -1]) is 4, the maximum element of the second subarray of length three ([4, -1, 1]) is also 4 and the maximum element of the last subarray of length three ([-1, 1, 5]) is 5, so you need to return [4, 4, 5]. 
Problem approach

It was a standard problem so I know the exact solution, you can simply use dequeue + two pointers to solve this questions.

Try solving now
03
Round
Easy
Face to Face
Duration45 minutes
Interview date15 Mar 2023
Coding problem2

1. Sudoku Solver

Hard
25m average time
75% success
0/120
Asked in companies
Urban Company (UrbanClap)OlaInfo Edge India (Naukri.com)

You have been given a 9x9 2d integer matrix 'MAT' representing a Sudoku puzzle. The empty cells of the Sudoku are filled with zeros, and the rest of the cells are filled with integers from 1 to 9. Your task is to fill all the empty cells such that the final matrix represents a Sudoku solution.

Note:
A Sudoku solution must satisfy all the following conditions-
1. Each of the digits 1-9 must occur exactly once in each row.
2. Each of the digits 1-9 must occur exactly once in each column.
3. Each of the digits 1-9 must occur exactly once in each of the 9, 3x3 sub-grids of the grid.

You can also assume that there will be only one sudoku solution for the given matrix.
Problem approach

The idea is simple try every number from 1-9 on every single empty block and check the row, column and 3x3 grid if the number already exists, if yes don't continue and try with a different number and if no try with the next empty block.

Try solving now

2. Longest Palindromic Substring

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

You are given a string ('STR') of length 'N'. Find the longest palindromic substring. If there is more than one palindromic substring with the maximum length, return the one with the smaller start index.

Note:
A substring is a contiguous segment of a string.

For example : The longest palindromic substring of "ababc" is "aba", since "aba" is a palindrome and it is the longest substring of length 3 which is a palindrome, there is another palindromic substring of length 3 is "bab" since "aba" starting index is less than "bab", so "aba" is the answer.

Problem approach

I solve it by using DP in O(n^2) time complexity.

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 Veridic Private Limited
454 views
0 comments
0 upvotes
System Engineer Specialist
3 rounds | 6 problems
Interviewed by Veridic Private Limited
324 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Veridic Private Limited
337 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Veridic Private Limited
356 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