Grokking the Coding Interview Patterns: Includes Topic Tutorials Plus LeetCode Questions & Solutions in JAVA ☕️ ... In addition, I've included Practice Questions Curated By LeetCode.
This repository contains topic tutorials on "must know" coding interview patterns, their associated LeetCode questions and solutions in Java programming language. It is based on "Grokking the Coding Interview: Patterns for Coding Questions" by Design Gurus.
Each section is structured as follows:
* Bitwise XOR
L Bitwise_XOR_Tutorial.txt (What is Bitwise XOR (exclusive OR)?)
L Problem_1_Single_Number.java (LeetCode Question: 136. Single Number)
L Problem_2_Two_Single_Numbers.java (LeetCode Question: 260. Single Number III)
L Problem_3_Complement_Of_Base_10_Number.java (LeetCode Question: 1009. Complement of Base 10 Integer)
L Problem_4_Flip_And_Invert_An_Image.java (LeetCode Question: 832. Flipping an Image)
Before solving Leetcode problems, make sure you are familiar with the following:
* Fundermentals of programming in Java Language
* Collections in Java
L Interfaces: Set, List, Queue, Deque
L Classes: ArrayList, Vector, LinkedList, PriorityQueue, HashSet, LinkedHashSet, TreeSet, etc.
* Data Structures and Algorithms in Java
L Data Structure: Stack, Queue, Graph, Tree, etc.
L Algorithms: Sorting, Searching, etc
Coding Interview Patterns are classified according to skills level:
6. LinkedList - In-Place Reversal
8. Island Pattern (Matrix Traversal)
2. Tree - Breadth First Search
8. Union Find (Disjoint-Set Data Structure)
Below is a visual representation of the three main pillars that make up Data Structures and Algorithms
for Coding Interview's i.e. Data Structures, Algorithms, and Problem-Solving Techniques.
It demonstrates the relationship between these three pillar's of Computer Science knowledge.
Reproduced from "How I Mastered Data Structures and Algorithms" By Ashish Pratap Singh
URL: https://blog.algomaster.io/p/15-leetcode-patterns
Neetcode Roadmap: This is a structured approach to preparing for technical interviews, particularly
for software engineering roles. It was created by NeetCode, a popular YouTube channel and website
that offers a variety of resources for coding interview preparation. The roadmap is designed to help
candidates tackle common interview topics in a systematic and comprehensive way.
Reproduced from "Neetcode Roadmap"
URL: https://neetcode.io/roadmap
Thought I'd include a list of practice questions under known headings.
-
Breadth-First Search (Tree & Graph) (240 Questions [Easy, Medium, Hard])
-
Depth-First Search (Tree & Graph) (314 Questions [Easy, Medium, Hard])
The questions below are less likely to appear in a technical test, but they're still good to practice 💪
i. Clone the git repo
https://github.com/AAdewunmi/Grokking-the-Coding-Interview-Patterns-for-Coding-Questions.git
ii. Open project folder
iii. Explore
😎
I acknowledge the use of LeetCode for coding interview questions 👨💻, OpenAI's ChatGPT for topic explanation and solutions to coding questions 🤖.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Project Name: "Grokking the Coding Interview: Patterns for Coding Questions"
Created by: Design Gurus (2024).
URL: https://www.designgurus.io/course-play/grokking-the-coding-interview/doc/63afd6338d316e91ad9fc027