Skip to content

spawn08/ds-algo-interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Datastructures and Algorithms Interview Questions

GitHub contributors GitHub stars GitHub forks GitHub issues

Python Java Golang JavaScript

📋 Table of Contents

🌟 Overview

This repository contains comprehensive code examples for data structures, algorithms, LeetCode and GeeksforGeeks problems commonly asked in top product company interviews. Solutions are provided in multiple languages including Java, Python, Golang, and JavaScript.

The goal is to create a centralized, well-documented resource that helps developers prepare for technical interviews at leading tech companies.

Coding

💻 Languages

Solutions are implemented in the following languages:

Language Description
Java Object-oriented solutions with detailed comments
Python Clean, Pythonic implementations with type hints
Golang Efficient Go implementations
JavaScript Modern JavaScript solutions with ES6+ features

🧩 Problem Categories

Category Description Count
Data Structures Arrays, Linked Lists, Trees, Graphs, Hash Tables, Stacks, Queues, Heaps 50+
Algorithms Sorting, Searching, Dynamic Programming, Greedy, Divide & Conquer 40+
LeetCode Solutions to popular LeetCode problems with difficulty tags 100+
GeeksforGeeks Solutions to important GeeksforGeeks problems 75+

📁 Directory Structure

.
├── data-structures/
│   ├── arrays/
│   ├── linked-lists/
│   ├── trees/
│   ├── graphs/
│   ├── hash-tables/
│   └── ...
├── algorithms/
│   ├── sorting/
│   ├── searching/
│   ├── dynamic-programming/
│   └── ...
├── leetcode/
│   ├── easy/
│   ├── medium/
│   └── hard/
├── geeksforgeeks/
└── language-specific/
    ├── java/
    ├── python/
    ├── golang/
    └── javascript/

🚀 Getting Started

  1. Clone the repository:

    git clone https://github.com/spawn08/ds-algo-interview.git
    cd ds-algo-interview-java
  2. Navigate to the problem category you're interested in:

    cd data-structures/arrays
  3. Each problem includes:

    • Problem statement
    • Multiple language implementations
    • Time and space complexity analysis
    • Test cases

🤝 How to Contribute

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Please ensure your code:

  • Includes detailed comments
  • Has proper time and space complexity analysis
  • Passes all existing tests
  • Follows the project coding style

📚 Learning Resources

Learning

📄 License

This repository is available under the MIT License. See the LICENSE file for more info.


If you found this repository helpful, please consider giving it a ⭐!

About

Repository contains DS/Algo questions asked in Technical interview

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages