- Interview Experiences, Marketing, Walmart

Walmart Interview Experience

Round 1:It was an online round hosted by Walmart on dare2dare. It consisted of 2 coding questions. The coding question goes like this :1: This question is also asked in the onsite 2nd intuit interview of SDE-1.Exactly one swapGiven a string S containing lowercase English alphabet characters. The task is to calculate the number of distinct strings that can be obtained after performing exactly one swap.In one swap,Geek can pick two distinct indexes i and j (i.e 1