Thursday, September 4, 2025
HomeData Modelling & AIWalmart Labs Interview Experience ( On Campus FT + 6 month Internship...

Walmart Labs Interview Experience ( On Campus FT + 6 month Internship )

Round 1 (Online Coding and MCQs):-

The test was held on HackerEarth and was of 90 minutes. It consisted of 3 Coding Problem (100 Marks) . The Coding Problem was of medium difficulty.

Question 1. https://practice.geeksforgeeks.org/problems/optimal-walk/ (35 Marks )
Question 2. Given X, Y, K, P, Q, where X is the number of unique alphabets, Y is the number of unique digits we have to form a string of length K with the following constraints :
1. string must start with an alphabet
2. must contain P number of alphabets
3. must contain Q number of digits
P+Q = K ;
1<=X<=26
1<=Y<=10
1<=K<=35
1<=P+Q<=K ;

Ex. K=25, Y=5, K=2, P=1, Q=1;
ans = 125

Question 3 : given string s1 and s2, we have to transform s1 to palindrome such that s1 contain s2 as substring
in minimum opeartion, where operation is we can convert any character to an other character . print -1 if not possible .

Ex. : s1 = arbcd, s2 = ar
output : 2
s1 = aaaaa, s2 = bbb
output : 3

Feeling lost in the world of random DSA topics, wasting time without progress? It’s time for a change! Join our DSA course, where we’ll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 neveropen!

RELATED ARTICLES

Most Popular

Dominic
32260 POSTS0 COMMENTS
Milvus
81 POSTS0 COMMENTS
Nango Kala
6625 POSTS0 COMMENTS
Nicole Veronica
11795 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11855 POSTS0 COMMENTS
Shaida Kate Naidoo
6747 POSTS0 COMMENTS
Ted Musemwa
7023 POSTS0 COMMENTS
Thapelo Manthata
6694 POSTS0 COMMENTS
Umr Jansen
6714 POSTS0 COMMENTS