Skip to content

Practicing algorithmic problems found across the web, from example: LeetCode

Notifications You must be signed in to change notification settings

fauzulkc/Algo-with-NX

Repository files navigation

AlgoNx

This workspace has been generated by Nx, Smart Monorepos · Fast CI.

About this Codebase

AlgoNx is a monorepo workspace containing multiple projects focused on algorithmic problem-solving. It includes solutions for LeetCode problems and Project Euler challenges.

Projects

  1. leet-code: Contains solutions for LeetCode problems.
  2. euler-project: Contains solutions for Project Euler challenges.

Getting Started

  1. Clone the repository
  2. Install dependencies:
    pnpm install
    

Running Projects

To run a specific project, use the following Nx command: nx serve <project-name>

For example: nx serve leet-code nx serve euler-project

Running Tests

To run tests for a specific project, use the following command: nx test <project-name>

For example: nx test leet-code nx test euler-project

Available Commands

  • nx build <project-name>: Build the specified project
  • nx lint <project-name>: Lint the specified project
  • nx test <project-name>: Run tests for the specified project
  • nx serve <project-name>: Serve the specified project
  • nx graph: Visualize the project dependency graph
  • nx affected:test: Run tests for affected projects
  • nx affected:lint: Lint affected projects
  • nx affected:build: Build affected projects

Project Structure

  • apps/: Contains the main application code for each project
  • libs/: Shared libraries (if any)
  • tools/: Custom scripts and tools

Contributing

  1. Create a new branch for your feature or bugfix
  2. Make your changes
  3. Run tests: nx affected:test
  4. Push your changes and create a pull request

Learn More

About

Practicing algorithmic problems found across the web, from example: LeetCode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published