{"id":24650752,"url":"https://github.com/tangoman75/node-lab","last_synced_at":"2026-04-09T02:31:06.642Z","repository":{"id":220372874,"uuid":"751466966","full_name":"TangoMan75/node-lab","owner":"TangoMan75","description":"TangoMan Node Lab is a Javascript coding project for practicing common interview questions and coding challenges.","archived":false,"fork":false,"pushed_at":"2025-10-08T16:05:02.000Z","size":139,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T18:34:53.681Z","etag":null,"topics":["interview-questions","javascript","nodejs"],"latest_commit_sha":null,"homepage":"https://tangoman.io","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TangoMan75.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-01T17:06:24.000Z","updated_at":"2025-10-08T16:05:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"3cc97462-76c9-4c0c-992c-f9ee97342c49","html_url":"https://github.com/TangoMan75/node-lab","commit_stats":null,"previous_names":["tangoman75/node-lab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TangoMan75/node-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TangoMan75%2Fnode-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TangoMan75%2Fnode-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TangoMan75%2Fnode-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TangoMan75%2Fnode-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TangoMan75","download_url":"https://codeload.github.com/TangoMan75/node-lab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TangoMan75%2Fnode-lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["interview-questions","javascript","nodejs"],"created_at":"2025-01-25T18:16:35.803Z","updated_at":"2026-04-09T02:31:06.621Z","avatar_url":"https://github.com/TangoMan75.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GH language](https://img.shields.io/github/languages/top/TangoMan75/node-lab)\n[![GH release](https://img.shields.io/github/v/release/TangoMan75/node-lab)](https://github.com/TangoMan75/node-lab/releases)\n[![GH license](https://img.shields.io/github/license/TangoMan75/node-lab)]((https://github.com/TangoMan75/node-lab/blob/master/LICENSE))\n[![GH stars](https://img.shields.io/github/stars/TangoMan75/node-lab)](https://github.com/TangoMan75/node-lab/stargazers)\n[![Node CI](https://github.com/TangoMan75/node-lab/workflows/Node%20CI/badge.svg)](https://github.com/TangoMan75/node-lab/actions/workflows/node.yml)\n![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2FTangoMan75%2Fnode-lab\u0026labelColor=%23697689\u0026countColor=%2337d67a\u0026style=flat)\n\n🔬 TangoMan Node Lab\n====================\n\n#back-end #interview #practice #node #javascript #technical-interview #test #training #vanilla\n\n**🔬 TangoMan Node Lab** is a Javascript coding project for practicing common interview questions and coding challenges.\n\nThere are various Javascript scripts in the root directory that implement different algorithms and solutions to coding problems:\n\n1. 🔄 **Ackermann**\n\nImplements the Ackermann function, which is a classic example of a recursive function that can be used to test compilers and illustrate the concept of recursion.\n\n2. 🔍 **BinarySearch**\n\nImplements binary search to find an element in a sorted array. Binary search is an efficient algorithm for searching sorted data sets and relies on the divide-and-conquer technique.\n\n3. ➕ **Factorial**\n\nCalculates factorials recursively. Factorials are used in combinatorics and provide good examples of recursive functions.\n\n4. 🔢 **Fibonacci**\n\nGenerates Fibonacci numbers recursively. The Fibonacci sequence illustrates recursion and has applications in mathematics and nature.\n\n5. 💬 **FizzBuzz**\n\nPrints numbers 1 to 100, but prints \"Fizz\" for multiples of 3, \"Buzz\" for multiples of 5, and \"FizzBuzz\" for multiples of both. This is a common interview screening question.\n\n6. 👋 **HelloWorld**\n\nPrints \"Hello world!\" - the traditional first program for beginner programmers.\n\n7. ❄️ **MinTemperature**\n\nFinds minimum temperature value from temperature data. Demonstrates algorithms for finding minimum/maximum values.\n\n8. 🧑🏼‍💻 **Multisoft**\n\nSwedish software company technical test solver.\n\n9. 🔄 **Palindrome**\n\nChecks if a string is a palindrome. Palindromes illustrate recursion and string manipulation.\n\n10. ✔️ **Perfect**\n\nChecks if a number is a perfect number, where the number equals the sum of its divisors. Interesting math and recursion example.\n\n11. 🃏 **Poker**\n\nEvaluates poker hands. Involves evaluating combinations and ranks of cards.\n\n12. 🥇 **PrimeNumbers**\n\nChecks if a number is prime, where a natural number greater than 1 has no positive divisors other than 1 and itself.\n\n13. 🔄 **Rot13**\n\nEncodes/decodes a string using the ROT13 cipher, a simple letter substitution cipher. Basic encryption example.\n\n14. 🔑 **SimpleJWT**\n\nImplements JSON Web Token (JWT) encoding and decoding.\n\n15. 💹 **Stocks**\n\nReturn an array holding the names of the top three stocks with the best average performance given two separate arrays containing stocks names and prices.\n\n16. 🔢 **Syracuse**\n\nImplements the Syracuse algorithm/sequence. Interesting recursion and number theory example.\n\n17. 🏗️ **TowerOfHanoi**\n\nImplements the Tower of Hanoi algorithm. A classic algorithm that illustrates recursion and dynamic programming.\n\n18. 🔄 **VonNeumann**\n\nGenerates Von Neumann ordinal numbers. Illustrates generating recursive sequences.\n\n## ✅ Unit Tests\n\nThe `tests` directory in each folder contains test cases for testing the implementations of each algorithm.\n\n## 🚀 Github Actions\n\nThis project uses Github Actions for continuous integration and testing. The `.github/workflows` directory contains YAML workflow definitions for:\n\n- Linting: Runs `ESLint` to check code style and quality on every push and pull request.\n- Testing: Runs `mocha` unit tests.\n\nThe workflows help maintain code quality and ensure the tests pass on latest node version.\n\n## 📑 Documentation\n\nChai documentation is available here: [https://www.chaijs.com/guide](https://www.chaijs.com/guide)\n\nMocha documentation is available here: [https://mochajs.org/](https://mochajs.org)\n\nESLint documentation is available here: [https://eslint.org/docs/latest/use/getting-started](https://eslint.org/docs/latest/use/getting-started)\n\n## 🌟 Inspiration\n\nThe following YouTube videos inspired the Node Lab project:\n\n- [FizzBuzz: One Simple Interview Question](https://www.youtube.com/watch?v=QPZ0pIK_wsc)\n- [Solve This Coding Question To Win $200](https://www.youtube.com/watch?v=WDuZ_S_9vLg)\n- [The Most Difficult Program to Compute? - Computerphile](https://www.youtube.com/watch?v=i7sm9dzFtEI)\n\n💻 Dependencies\n---------------\n\n**TangoMan Node Lab** requires the following dependencies:\n\n- Node.js\n- npm\n\n### 🦖 Node.js\n\n#### 🐧 Install Node.js (Linux)\n\nOn linux machine install node globally with the following commands (requires curl):\n\n```bash\n$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -\n$ sudo apt-get install --assume-yes nodejs\n```\n\n#### 🏁 Install Node.js (Windows)\n\nDownload and install recommended LTS version from here: [Node.js](https://nodejs.org/en/download)\n\n#### 🍎 Install Node.js (OSX)\n\nDownload and install recommended LTS version from here: [Node.js](https://nodejs.org/en/download)\n\n---\n\n🔥 Usage\n--------\n\nRun `sh entrypoint.sh` to print help\n\nRun tests:\n\n```bash\nsh entrypoint.sh unit\n```\n\nLint code:\n\n```bash\nsh entrypoint.sh lint\n```\n\nFix lint errors:\n\n```bash\nsh entrypoint.sh lint --fix\n```\n\nUninstall:\n\n```bash\nsh entrypoint.sh uninstall\n```\n\n🤝 Contributing\n---------------\n\nThank you for your interest in contributing to **TangoMan Node Lab**.\n\nPlease review the [code of conduct](./CODE_OF_CONDUCT.md) and [contribution guidelines](./CONTRIBUTING.md) before starting to work on any features.\n\nIf you want to open an issue, please check first if it was not [reported already](https://github.com/TangoMan75/node-lab/issues) before creating a new one.\n\n📜 License\n----------\n\nCopyrights (c) 2024 \u0026quot;Matthias Morin\u0026quot; \u0026lt;mat@tangoman.io\u0026gt;\n\n[![License](https://img.shields.io/badge/Licence-MIT-green.svg)](LICENSE)\nDistributed under the MIT license.\n\nIf you like **TangoMan Node Lab** please star, follow or tweet about it:\n\n[![GitHub stars](https://img.shields.io/github/stars/TangoMan75/node-lab?style=social)](https://github.com/TangoMan75/node-lab/stargazers)\n[![GitHub followers](https://img.shields.io/github/followers/TangoMan75?style=social)](https://github.com/TangoMan75)\n[![Twitter](https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2FTangoMan75%2Fnode-lab)](https://twitter.com/intent/tweet?text=Wow:\u0026url=https%3A%2F%2Fgithub.com%2FTangoMan75%2Fnode-lab)\n\n... And check my other cool projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangoman75%2Fnode-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangoman75%2Fnode-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangoman75%2Fnode-lab/lists"}