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

SDE - 1

Veridic Private Limited
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I came to know about this job from their official site, i have applied to this job and get selected for the exam, then i have given the exam and also got selected for the interview.
Application story
I applied for this profile on the company website where i got the test link after applying for the jobs.
Why selected/rejected for the role?
I was not able to answer the optimal approach for a problem that's why i think, i was rejected in the interview.
Preparation
Duration: 4 month
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: The graph should be at your fingertips.
Tip 2: While explaining the solution to the interviewer, don't just jump to the most optimal solution. Start with the brute force approach, discuss its drawbacks, and then proceed step by step until you reach the optimal solution.
Tip 3: Improve your communication skills as well.

Application process
Where: Company Website
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1: Mention only what is required for your profile; for example, do not stress too much on your co-curricular activities. Instead, focus on explaining more of your technical skills that are relevant to the job.

Tip 2: Keep it limited to 1 page, and make sure it is a PDF, not an image.

Interview rounds

01
Round
Medium
Video Call
Duration60 mins
Interview date16 Mar 2023
Coding problem2

1. Job Sequencing Problem

Moderate
30m average time
70% success
0/80
Asked in companies
OracleCIS - Cyber InfrastructureExpedia Group

You are given a 'Nx3' 2-D array 'Jobs' describing 'N' jobs where 'Jobs[i][0]' denotes the id of 'i-th' job, 'Jobs[i][1]' denotes the deadline of 'i-th' job, and 'Jobs[i][2]' denotes the profit associated with 'i-th job'.


You will make a particular profit if you complete the job within the deadline associated with it. Each job takes 1 unit of time to be completed, and you can schedule only one job at a particular time.


Return the number of jobs to be done to get maximum profit.


Note :
If a particular job has a deadline 'x', it means that it needs to be completed at any time before 'x'.

Assume that the start time is 0.


For Example :
'N' = 3, Jobs = [[1, 1, 30], [2, 3, 40], [3, 2, 10]].

All the jobs have different deadlines. So we can complete all the jobs.

At time 0-1, Job 1 will complete.
At time 1-2, Job 3 will complete.
At time 2-3, Job 2 will complete.

So our answer is [3 80].
Problem approach

You are given a N x 2 2-D array 'Jobs' of 'N' jobs where Jobs[i][0] denote the deadline of i-th job and Jobs[i][1] denotes the profit associated with i-th job.

Try solving now

2. Minimum Cost Path

Moderate
25m average time
70% success
0/80
Asked in companies
HSBCHCL TechnologiesHCL Technologies

You have been given a matrix of ‘N’ rows and ‘M’ columns filled up with integers. Find the minimum sum that can be obtained from a path which from cell (x,y) and ends at the top left corner (1,1).

From any cell in a row, we can move to the right, down or the down right diagonal cell. So from a particular cell (row, col), we can move to the following three cells:

Down: (row+1,col)
Right: (row, col+1)
Down right diagonal: (row+1, col+1)
Problem approach

I started thinking in the direction that there could be multiple ways to reach the last cell, so I need to find the minimum of all these possible ways.

Now, the idea here is to think about the problem recursively and try to break it into smaller problems. This means that the problem can be broken down into smaller, simpler sub-problems until we reach a base condition.

Try solving now
02
Round
Medium
Video Call
Duration60 mins
Interview date16 Mar 2023
Coding problem2

1. Merge Intervals

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

You are given N number of intervals, where each interval contains two integers denoting the start time and the end time for the interval.

The task is to merge all the overlapping intervals and return the list of merged intervals sorted by increasing order of their start time.

Two intervals [A,B] and [C,D] are said to be overlapping with each other if there is at least one integer that is covered by both of them.

For example:

For the given 5 intervals - [1, 4], [3, 5], [6, 8], [10, 12], [8, 9].

Since intervals [1, 4] and [3, 5] overlap with each other, we will merge them into a single interval as [1, 5].

Similarly, [6, 8] and [8, 9] overlap, merge them into [6,9].

Interval [10, 12] does not overlap with any interval.

Final List after merging overlapping intervals: [1, 5], [6, 9], [10, 12].
Problem approach

I sorted the pairs on the basis of the first interval. Then I compared the second element from the first pair with the first element from the second pair. If there was an overlap, I merged the pairs and repeated this with the next pair.

Try solving now

2. Count Set Bits

Hard
15m average time
85% success
0/120
Asked in companies
HSBCSamsungBank Of America

You are given a positive integer ‘N’. Your task is to find the total number of ‘1’ in the binary representation of all the numbers from 1 to N.

Since the count of ‘1’ can be huge, you are required to return it modulo 1e9+7.

Note:
Do not print anything, just return the number of set bits in the binary representation of all integers between 1 and ‘N’.
Problem approach

A simple method would be to loop through all bits in an integer, check if a bit is set, and if it is, increment the set bit count.
Time Complexity: Θ(log n)
Auxiliary Space: O(1)

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
325 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Veridic Private Limited
349 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Veridic Private Limited
357 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