I was given an online assessment, which consisted of two questions. I would rate them as one easy and one medium in terms of Leetcode difficulty. Unfortunately, even though I passed all the test cases and ensured that the time and space complexity were optimal, I was rejected. Had a similar experience with internships. Probably because of not applying with a referral.