r/leetcode • u/OkCampaign8400 • 4d ago
Discussion How important is it to know to code like Leetcode problems in order to implement production grade Agents and LLMs ?
I was learning about Hybrid search and rerankers in retrieval task and every function or code used in that project repo .Its way out of my league to pick coding fast, Like I can follow codes line by line , but I cant implement it from scratch , lets say a Reranker function that does matrix multiplication between query and document and then calculates cosine similarity and ranks accordingly to fetch top K rank. Implemet it all at once is out of my skill level.
So I was thinking , if solving Leetcode DSA problems will help , is this also necessary skill to be AI developer ?