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

Machine learning engineer

Tiger Analytics
3 rounds | 6 Coding problems

Interview preparation journey

Preparation
Duration: 3 months
Topics: Decorators,Multithreading,SQL,Classification Algorithms,Linear Algorithms,Clustering Algorithms,Case Studies
Tip

Tip 1 : Main Preparation should be on Python.
Tip 2 : Should know about everything you used in your project.
Tip 3 : Machine Learning Classification, Linear, Clustering algorithms and case studies should be well prepared.

Application process
Eligibility: at least 6 CGPA
Resume tip

Tip 1: Resume should be one pager.
Tip 2: Mention your skill set in a graphical format.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date1 Apr 2022
Coding problem2

Round comprises of 10 MCQS , 2 SQL Queries and 2 Programming Questions

1. First Missing Positive

Moderate
18m average time
84% success
0/80

You are given an array 'ARR' of integers of length N. Your task is to find the first missing positive integer in line...

View more
Problem approach

first remove negative values using list comprehension
and using sorted of list comprehension of first output from range(min,max) and check with the values of list
x=[1,-1,3,7,8,0,2,5,-6]
l=sorted([i for i in x if i>0])
v=[j for j in range(l[0],l[-1]+1) if j not in l]
print(v[0])

2. Missing Numbers

Easy
28m average time
85% success
0/40

You are given an array 'ARR' of distinct positive integers. You need to find all numbers that are in the range of the elements of the array, but not in the array. The mis...

View more
Problem approach

l=[1,3,4,5,9,10]
d=[]
for i in range(max(l)):
if i not in l:
d.append(i)
print(d)

02
Round
Medium
Face to Face
Duration60 Minutes
Interview date5 Apr 2022
Coding problem2

2 coding questions and then Question on Machine Learning and Linux

1. Subarray With Given Sum

Moderate
15m average time
85% success
0/80

Given an array ARR of N integers and an integer ...

View more
Problem approach

Function to find a continuous sub-array which adds up to a given number.
class Solution:
def subArraySum(self,arr, n, s):
#Write your code here
left , right = 0 , 0
cur_sum = 0
while left < n :
if cur_sum ==s :
if left+1 > right :
return [-1]
return [left+1, right]

if cur_sum < s and right cur_sum += arr[right]
right +=1
else:
cur_sum...

View more

2. Kth Smallest Element

Easy
15m average time
85% success
0/40

Your task is to find and return 'K&#...

View more
Problem approach

class Solution:
def kthSmallest(self,arr, l, r, k):
arr.sort()
return(arr[k-1])

03
Round
Easy
Face to Face
Duration40 Minutes
Interview date7 Oct 2022
Coding problem2

2 programming Questions , Questions on projects.

1. Longest Palindromic Substring

Moderate
20m average time
80% success
0/80

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 th...

View more
Problem approach

def longestPalin(self, S):

fi = fj = 0

n = len(S)

for i in range(n):

# odd length palindrome with current index as center

j = i - 1

k = i + 1

while j >= 0 and k < n:

if S[j] != S[k]:

break

j -= 1

k += 1

if k-j-1 > fj-fi+1:

fi = j + 1

fj = k - 1

# even length palindro...

View more

2. Valid Parentheses

Easy
10m average time
80% success
0/40

Return true if the given string 'S' is balanced, else return false.

...

View more
Problem approach

def ispar(self,x):
# code here
opens=['(','{','[']
close=[')','}',']']
stack=[-1]
l=list(x)
for i in range(len(x)):
if x[i] in opens:
stack.append(x[i])
else:
index = close.index(x[i])
if len(stack) > 1 and stack[-1] == opens[index]:
stack.pop()
else:
stack.append(x[i])

if stack[-1]==-1:
return True
else:
return False

Here's your problem of the day

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

Is method overloading possible by changing the return type?

Start a Discussion
Similar interview experiences
Programmer Analyst
4 rounds | 6 problems
Interviewed by Tiger Analytics
4606 views
Product Engineer
4 rounds | 4 problems
2758 views