Panda Guru LogoPanda
Guru

Salesforce | OA

Round 1

Questions:

  1. Given an array of numbers. Eg: [1, 3, 2, 3, 4, 1]. Output 2 strings: 000101, 110000. Each char in the first string should be 1 if the number at that index has occurred at lower indices in the array. Each char in the second string should be 1 if the number at that index has occurred at higher indices in the array.
  2. Maximum Number of Occurrences of a Substring
Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.