This project is a web application built with Streamlit that displays Data Structures and Algorithms (DSA) questions for different companies. The questions are dynamically loaded from CSV files and can be filtered by company, difficulty level, and search query. It also includes answers to questions, allowing users to view solutions for specific problems.
- Display company-specific DSA questions.
- Filter questions by difficulty (Easy, Medium, Hard).
- Search questions by name.
- View answers for questions (if available).
- Built with Streamlit for an interactive user experience.
- Streamlit: For building the web app interface.
- Pandas: For data manipulation and filtering.
- Python 3.9: Backend programming language.
- Docker: For containerization and easy deployment.
- Docker installed on your machine.
- Python 3.9 or later (if not using Docker).
git clone https://github.com/AyushKatre05/DSA-Questions-CompanyWise.git
cd DSA-Questions-CompanyWiseNavigate to the root directory of the project and run the following command to build the Docker image:
docker build -t leetcode-dsa-app .Once you have successfully built the Docker image, you can run the application inside a Docker container.
To run the application, use the following command:
docker run -p 8501:8501 leetcode-dsa-app:latest Once you have successfully built and run the Docker container for the CompanyWise DSA Q&A app, follow the steps below to access the application:
After the Docker container is running, open your web browser of choice.
In the browser, enter the following URL to access the app:
http://localhost:8501Once the app is loaded, you will be able to:
- Select a Company: Choose from a list of companies to see the DSA questions asked by that company.
- Filter by Difficulty: Use the filter options to narrow down the questions based on difficulty (Easy, Medium, Hard).
- Search Questions: Enter a question name or keyword in the search bar to find specific questions.
- View Question Details: Click on any question to see its details like acceptance rate, frequency, and a link to the LeetCode problem.
- Solution Display: If available, the solution to the question will be shown below its details.
- Save this content in a file named
ACCESS_APP.md. - Place it in your project repository so users can access detailed instructions on how to open and use the app once it's running in Docker.
This guide helps users access the application after the Docker container is up and running, offering basic troubleshooting steps in case of issues.
We welcome contributions to improve this project! If you would like to contribute, please read our CONTRIBUTING.md file to learn how you can help us make this project better.