Coding interviews, often referred to as Data Structures and Algorithms (DSA) interviews, primarily focus on writing efficient and optimized code. The evaluation criteria may vary depending on the candidate's level of seniority.
Before beginning your preparation for coding interviews, I highly recommend gaining a thorough understanding of Data Structures and Algorithms. Additionally, ensure you study parsers, as they can significantly simplify the process of solving many complex problems.
A strong foundation in core topics such as sorting, searching, pattern matching, linked lists, stacks, queues, deques, graphs, backtracking, and hashing is essential for interviews. Candidates should be prepared to discuss each of these areas in depth, with the ability to speak knowledgeably about each topic for at least an hour.
Make sure to prepare on https://www.interviewbit.com/ this site is more organised compared to other site I have seen.
Preparing for coding interviews typically requires about a year.
Refer https://github.com/rohit-singh-gautam/LearningAlgorithm for lerning few of the basic algorithms.