top of page

All Companies - Coding Solutions

Updated: Feb 16, 2022

Below are the coding questions which are asked in the MNC, FAANG and Startup companies. There will be around 150 plus questions (adding in progress). If you prepare them, then it will be enough to crack the coding rounds of 90% of companies.
1. Reverse a Linked List - Given the head of a singly linked list, reverse the list, and return the reversed list. Solution 
2. Linked List Cycle - Given head, the head of a linked list, determine if the linked list has a cycle in it. Solution 
3. Linked List Cycle with node at intersection - Given the head of a linked list, return the node where the cycle begins. If there is no cycle, return null. Solution 
4. Longest Common Subsequence - Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0. Solution 



Will be adding more coding solutions as days goes on. Do let me know in the comments if you are looking for a specific coding question which was asked in your company.



18 views0 comments

Comments


bottom of page