← Walmart questions
CodingEasy

Find second largest element, longest consecutive 1s, and anagrams

Filed under Walmart

Implement solutions for: 1) Find the second largest element in an array (single pass, O(1) space), 2) Longest consecutive 1s in a binary array, 3) Check if two strings are anagrams, 4)…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Walmart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.