Giter VIP home page Giter VIP logo

dsa.ai's Introduction

Dsa.ai

Welcome to DSA.ai, your assistant for Data Structures and Algorithms (DSA) practice and problem-solving. This chatbot is designed to help you with both solving DSA questions and generating practice problems to enhance your skills. The chatbot leverages Codellama:7b, Ollama, and Streamlit UI to provide a 0073eamless experience.

Features Overview

1. Solve Section

In the Solve section, you can paste your DSA questions to receive detailed, summarized solutions. This feature is ideal for students and professionals who need help understanding specific problems or algorithms.

  1. Paste Your Question: Input your DSA question into the provided text area.
  2. Submit: Press ‘ ctrl + enter’ to send your question to the chatbot.
  3. Receive Solution: The chatbot will generate a detailed and summarized solution to your question, explaining the approach and providing key insights.

• User Input: "How do I solve the problem of finding the shortest path in a graph using Dijkstra's algorithm?" • Chatbot Response: The chatbot will provide a detailed explanation of Dijkstra's algorithm, including its steps, time complexity, and a summary of how it can be applied to the problem.

2. Practice Section

In the Practice section, you can generate new DSA questions to test your skills. This feature is useful for self-assessment and improving problem-solving abilities.

  1. Generate Questions: It will automatically load a DSA question
  2. Answer Questions: Work on the questions and use the Solve section to get solutions if needed. Example Use Case: • Generated Questions:
  3. "Implement a function to check if a binary tree is balanced."
  4. "Given a binary search tree, write a function to find the kth smallest element."

Technical Details

Backend • Codellama:7b: Provides natural language processing and problem-solving capabilities for understanding and generating solutions to DSA questions. • Ollama: Enhances the chatbot’s conversational abilities and ensures accurate and relevant responses. • Streamlit UI: Powers the user interface, offering an intuitive and interactive experience for pasting questions and generating practice problems. Frontend • Input Areas: For pasting questions and selecting practice parameters. • Buttons: For displaying solutions in practice Section • Response Display: For showing detailed solutions and practice questions.

dsa.ai's People

Contributors

rohanjose avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.