HRT swe intern OA

I applied like a month ago and finally got the OA. What kind of questions should I expect? Please help, thanks!

They tend to like leetcode type questions, you should expect 3 questions similar to the following:

  1. find the length of the largest subset with positive Bitwise AND Find the size of Largest Subset with positive Bitwise AND - GeeksforGeeks
  2. leetcode 1525
  3. sum of -2 base numbers (sum(Bit[‍‍‌‍‌‌‌‌‌‌‌‍‌‍‌‍‌‍‌‌i] *(-2)^i))

Good luck!!

1 Like