Walmart Labs Interview Question for Developer Program Engineers


Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
1
of 1 vote

stackoverflow(dot)com/questions/12430604/longest-palindrome-subsequence

- Anonymous March 24, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

we need a function that takes a string in as a parameter, checks if it's a palindrome using array and stores the string and its length in another array of n*n <-------O(n)

- Anonymous February 16, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

we need a function that takes a string in as a parameter, checks if it's a palindrome using array and stores the string and its length in another array of n*n <-------O(n)

- aa February 16, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

One simple idea might be iterate character by character ( of the string ) thinking that they are the centers of a palindrome. Maintain the position and length of the longest palindrome. Basically, expand from the current center ( if considering an even length palindrome then we can use the convention that the left one is the center and we proceed only if the immediate right one is also same ) until its a valid palindrome. Haven't thought much about the performance. Should be def better than naive

O(n^3)

- knap February 17, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Hi Can anyone please tell the way to apply to Walmart, India? Will applying online, have any response?

- Ashok May 15, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

I applied online and got the call same day itself...........

- XYZ January 11, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Can someone explain the question clearly

- Anon August 27, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More