# mayankraje/-2026_feb-_leetcode-companywise-interview-questions architecture

> Architecture diagram of the GitHub repository mayankraje/-2026_feb-_leetcode-companywise-interview-questions, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions
- Repository: https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions

## Overview

This repository is primarily a company-indexed snapshot of LeetCode interview questions, with CSVs organized by recency and including difficulty, acceptance, and frequency attributes. A contributor can also run the Java scraper: it logs into LeetCode, visits company listings, extracts problem data, and writes CSVs. Readers use the published CSVs directly or filter them in a spreadsheet. The scraper excerpts are partial, so the internal stages shown are limited to relationships visible in the excerpts; the catalog node represents the broader CSV tree.

Main entry points: [`src/main/java/Scraper.java`](https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/src/main/java/Scraper.java) (Company scraper), [`6sense/all.csv`](https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/6sense/all.csv) (Company CSVs), [`src/main/java/Main.java`](https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/src/main/java/Main.java) (Java entry point), [`src/main/java/model/ProblemStatement.java`](https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/src/main/java/model/ProblemStatement.java) (Problem record)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Question catalog"]
  node_csv_catalog[("Company CSVs<br/>[all.csv]")]
end

subgraph group_scraper["Scraper runtime"]
  node_main["Java entry point<br/>[Main.java]"]
  node_scraper_core["Company scraper<br/>[Scraper.java]"]
  node_problem_data["Problem record"]
end

subgraph group_external["External services"]
  node_leetcode["LeetCode"]
  node_spreadsheet["CSV editor"]
end

node_reader(("CSV reader"))
node_contributor(("Contributor"))

node_reader -->|"reads"| node_csv_catalog
node_csv_catalog -->|"filters"| node_spreadsheet
node_contributor -->|"runs"| node_main
node_main -->|"starts"| node_scraper_core
node_scraper_core -->|"logs in; visits"| node_leetcode
node_scraper_core -->|"creates records"| node_problem_data
node_scraper_core -->|"exports CSVs"| node_csv_catalog

click node_main "https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/src/main/java/Main.java"
click node_scraper_core "https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/src/main/java/Scraper.java"
click node_problem_data "https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/src/main/java/model/ProblemStatement.java"
click node_csv_catalog "https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/6sense/all.csv"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_csv_catalog toneBlue
class node_main,node_scraper_core,node_problem_data toneAmber
class node_leetcode,node_spreadsheet toneMint
class node_reader,node_contributor toneIndigo
```

## Components

### Question catalog

- [Company CSVs](https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/6sense/all.csv): `6sense/all.csv`

### Scraper runtime

- [Java entry point](https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/src/main/java/Main.java): `src/main/java/Main.java`
- [Company scraper](https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/src/main/java/Scraper.java): `src/main/java/Scraper.java`
- [Problem record](https://github.com/mayankraje/-2026_feb-_leetcode-companywise-interview-questions/blob/master/src/main/java/model/ProblemStatement.java): `src/main/java/model/ProblemStatement.java`

### External services

- **LeetCode**
- **CSV editor**

### Other components

- **CSV reader**
- **Contributor**

## Connections

- CSV reader → Company CSVs: reads (evidence: `README.md`)
- Company CSVs → CSV editor: filters (evidence: `README.md`)
- Contributor → Java entry point: runs (evidence: `README.md`)
- Java entry point → Company scraper: starts (evidence: `src/main/java/Main.java`)
- Company scraper → LeetCode: logs in; visits (evidence: `src/main/java/Scraper.java`)
- Company scraper → Problem record: creates records (evidence: `src/main/java/Scraper.java`)
- Company scraper → Company CSVs: exports CSVs (evidence: `src/main/java/Scraper.java`)
