Aright = A[i + 1] if (i + 1) < len(A) else float("infinity") Bleft = B[j] if j >= 0 else float("-infinity") Bright = B[j + 1] if (j + 1) < len(B) else float("infinity") ...
Every file in this project is code I wrote and submitted while completing the NeetCode ML course. The problems progressively build from gradient descent fundamentals all the way to a working GPT.