Goldman Sachs full stack OA

I applied to the full stack analyst role at GS and finally got the OA. If anyone has done it please let me know how I should prepare, thank you!

You will likely have 2 questions to be completed in 120 mins. Two recent examples:

  1. Condensed list: remove duplicates from a linked list.
  2. Given an array of size n. Three elements the arr[i], arr[j] and arr[k] form an inversion of size 3 if a[i] > a[j] >a[k] and i < j < k. Find total number of inversions of size 3.

They should be relatively easy compared to a lot of other OAs. Good luck!!