Question: Walmart, Recently asked On-Campus Assessments in IITs, November, 2022
Entering edit mode

Avg CTC: 18lpa

Location: Bangalore, Chennai

Job Roles: Java Developer, Software Engineers

Job Link: Software Engineering Roles

Question 1

Unique Element Problem


Question 2

Crayon Box

Click here to Practice

ADD COMMENTlink 13 days ago Rohit • 190 • updated 5 days ago Sahil • 40
Entering edit mode

Crayon Box is a repeated Question. Previously asked for Sprinklr. Checkout the solution below.

Solution Link Here: Crayon Box

ADD COMMENTlink 13 days ago Rohit • 190
Entering edit mode

Q1 seems like a dp problem t1 = a[i] + max[i+1][j] + (sum[i+1][j] +dp[i+1][j]) t2 = a[j] + max[i][j-1] + (sum[i][j-1] +dp[i][j-1]) dp[i][j] = max (t1,t2) answer = dp[1][n]

ADD COMMENTlink 5 days ago Sahil • 40

Login before adding your answer.

Similar Posts
Loading Similar Posts