Zeta Suite | OA 2021 | SDE Intern
Anonymous User
850

1.Minimum Window Subsequence
2.Predict the Winner
3.Given an array of integers A(max size 10^5) and an integer X(max value 10^6) find pairs which follows given conditions:
1.A[i] == A[j]
2.i < j

  1. (i * j) % X == 0

If anyone has any solutions or approaches to 3rd question i would be happy to discuss. Thanks!

Comments (1)