{"id":20086401,"url":"https://github.com/asarkar/hackerrank-fp-haskell","last_synced_at":"2025-03-02T14:25:50.231Z","repository":{"id":216663839,"uuid":"741977121","full_name":"asarkar/hackerrank-fp-haskell","owner":"asarkar","description":"Functional Programming code challenges on HackerRank","archived":false,"fork":false,"pushed_at":"2024-01-15T00:44:15.000Z","size":1415,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T02:18:39.899Z","etag":null,"topics":["functional-programming","hackerrank","hackerrank-challenges","hackerrank-haskell","hackerrank-solutions","haskell"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asarkar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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-01-11T14:03:06.000Z","updated_at":"2024-01-12T19:29:38.000Z","dependencies_parsed_at":"2024-11-13T21:02:31.135Z","dependency_job_id":null,"html_url":"https://github.com/asarkar/hackerrank-fp-haskell","commit_stats":null,"previous_names":["asarkar/hackerrank-fp-haskell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asarkar%2Fhackerrank-fp-haskell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asarkar%2Fhackerrank-fp-haskell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asarkar%2Fhackerrank-fp-haskell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asarkar%2Fhackerrank-fp-haskell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asarkar","download_url":"https://codeload.github.com/asarkar/hackerrank-fp-haskell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241518814,"owners_count":19975544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["functional-programming","hackerrank","hackerrank-challenges","hackerrank-haskell","hackerrank-solutions","haskell"],"created_at":"2024-11-13T16:01:24.343Z","updated_at":"2025-03-02T14:25:50.197Z","avatar_url":"https://github.com/asarkar.png","language":"Haskell","readme":"My solutions to [HackerRank Functional Programming code challenges](https://www.hackerrank.com/domains/fp).\n\n[![](https://github.com/asarkar/hackerrank-fp-haskell/workflows/CI/badge.svg)](https://github.com/asarkar/hackerrank-fp-haskell/actions)\n\n## Index\n\n### Introduction\n\n| Problem                 | Difficulty | Solution |\n|-------------------------|------------|----------|\n| [Solve Me First FP](problems/Introduction/solve-me-first.pdf) | Easy | |\n| [Hello World](problems/Introduction/hello-world.pdf) | Easy | |\n| [Hello World N Times](problems/Introduction/hello-world-n-times.pdf) | Easy | [link](src/Introduction/HelloWorldN.hs) |\n| [Filter Array](problems/Introduction/filter-array.pdf) | Easy | [link](src/Introduction/FilterArray.hs) |\n\n### Recursion\n\n| Problem                 | Difficulty | Solution |\n|-------------------------|------------|----------|\n| [Computing the GCD](problems/Recursion/gcd.pdf) | Easy | [link](src/Recursion/GCD.hs)\n| [Fibonacci Numbers](problems/Recursion/fibonacci-numbers.pdf) | Easy | [link](src/Recursion/Fibonacci.hs) |\n| [Pascal's Triangle](problems/Recursion/pascals-triangle.pdf) | Easy | [link](src/Recursion/PascalsTriangle.hs) |\n| [String Mingling](problems/Recursion/string-mingling.pdf) | Easy | [link](src/Recursion/StrMingling.hs) |\n| [String-o-Permute](problems/Recursion/string-o-permute.pdf) | Easy | [link](src/Recursion/StrPermutation.hs) |\n| [String Compression](problems/Recursion/string-compression.pdf) | Easy | [link](src/Recursion/StrCompression.hs) |\n| [Prefix Compression](problems/Recursion/prefix-compression.pdf) | Easy | [link](src/Recursion/PrefixCompression.hs) |\n| [String Reductions](problems/Recursion/string-reductions.pdf) | Easy | [link](src/Recursion/StrReduction.hs) |\n| [The Sum of Powers](problems/Recursion/sum-of-powers.pdf) | Easy | [link](src/Recursion/SumOfPowers.hs) |\n| [Sequence full of colors](problems/Recursion/sequence-full-of-colors.pdf) | Easy | [link](src/Recursion/ColorSeq.hs) |\n| [Filter Elements](problems/Recursion/filter-elements.pdf) | Easy | [link](src/Recursion/FilterElements.hs) |\n| [Super Digit](problems/Recursion/super-digit.pdf) | Medium | [link](src/Recursion/SuperDigit.hs) |\n| [Convex Hull](problems/Recursion/convex-hull.pdf) | Medium | [link](src/Recursion/ConvexHull.hs) |\n| [Concave Polygon](problems/Recursion/concave-polygon.pdf) | Medium | |\n| [Sierpinski triangles](problems/Recursion/sierpinski-triangles.pdf) | Advanced | [link](src/Recursion/SierpinskiTriangle.hs) |\n| [Recursive Trees](problems/Recursion/fractal-trees.pdf) | Advanced | [link](src/Recursion/FractalTrees.hs) |\n\n### Functional Structures\n\n| Problem                 | Difficulty | Solution |\n|-------------------------|------------|----------|\n| [Lists and GCD](problems/FunctionalStructures/lists-and-gcd.pdf) | Easy | [link](src/FunctionalStructures/GCD.hs)\n\n## Running tests\n\n```\n./.github/run.sh\n```\n\nTo run all matching tests:\n```\n./.github/run.sh -m \u003csome_word\u003e\n```\n\nTo run exactly matching tests:\n```\n./.github/run.sh -m \"/\u003csome_word\u003e/\"\n```\n\nTo run a _specific test_:\n```\n./.github/run.sh -m \"/Ch11/evaluates expression/eval/\"\n```\n\nTo run a file containing a `main` method:\n```\nstack runhaskell app/Main.hs\n```\n\nTo run an executable listed in `package.yaml`:\n```\nstack build\nstack exec \u003cname\u003e\n```\n\n## License\n\nReleased under [Apache License v2.0](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasarkar%2Fhackerrank-fp-haskell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasarkar%2Fhackerrank-fp-haskell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasarkar%2Fhackerrank-fp-haskell/lists"}