Zynga | Senior Software Engineer | Bangalore | July 2020 [Rejected]
Anonymous User
870

Round 1 had 2 questions:

  1. Write a GetRandom Function which takes a range of min and max value, and it has to return a random value between that range
  2. Given a list where AccountInfo is a class with only 2 attributes: AccountName: String and IPAddress: String
  • Need to find number of unique objects in the list
  • Criteria to identify if element is duplicate is as below:
    i. IP address should match and the account name should be a prefix of another account name
Comments (1)