It was an OA, they sent a hackerrank link which had a single problem to be completed in 75 mins. I could take the test at my time of convenience, the problem was very different from what I have faced usually, it consisted of a code which was written extremely poorly and I had to understand and rewrite the same code with optimization.