Walmart | SSE | Round 1

Anonymous User
558
Sep 11, 2024

Round 1 (1hr)

  1. Shuffle Song Playlist : Randomly play all the elements from the array = [s1,s2,s3,s4,s5]. Same element cant be picked twice.
    Time : O(n). Space : O(1). Dont edit the original array.
  2. Water Trap problem. Leetcode Hard.

Required code and dry run of both the problems.

Comments (2)