{"id":26542254,"url":"https://github.com/aziliz1/solutions","last_synced_at":"2025-03-22T02:13:45.830Z","repository":{"id":183109835,"uuid":"278497691","full_name":"aziliz1/solutions","owner":"aziliz1","description":"My solutions to online challenges, with explanations when allowed.","archived":false,"fork":false,"pushed_at":"2022-05-13T08:45:39.000Z","size":712,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T02:13:40.567Z","etag":null,"topics":["c","challenges","challenges-solved","online-challenges","problem-solving","pwnable"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aziliz1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-07-10T00:10:06.000Z","updated_at":"2025-01-06T02:58:17.000Z","dependencies_parsed_at":"2023-07-22T22:46:11.017Z","dependency_job_id":null,"html_url":"https://github.com/aziliz1/solutions","commit_stats":null,"previous_names":["tanguyandreani/solutions","aziliz1/solutions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziliz1%2Fsolutions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziliz1%2Fsolutions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziliz1%2Fsolutions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziliz1%2Fsolutions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aziliz1","download_url":"https://codeload.github.com/aziliz1/solutions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244894318,"owners_count":20527677,"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":["c","challenges","challenges-solved","online-challenges","problem-solving","pwnable"],"created_at":"2025-03-22T02:13:44.966Z","updated_at":"2025-03-22T02:13:45.813Z","avatar_url":"https://github.com/aziliz1.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# solutions\n\n![l99](https://github.com/TanguyAndreani/solutions/workflows/l99/badge.svg)\n![cryptopals](https://github.com/TanguyAndreani/solutions/workflows/cryptopals/badge.svg)\n![project euler](https://github.com/TanguyAndreani/solutions/workflows/projecteuler/badge.svg)\n\n## DESCRIPTION\n\nMy solutions to online challenges and exercises from books.\n\nFeel free to email me (See my GitHub profile) if you want me to help.\n\n## LIST\n\n### Books\n\nBooks I plan on doing:\n\n- Lisp in Small Pieces\n- Operating Systeme: Three Easy Pieces\n- The Algorithms Design Manual (in a separate repo)\n\n#### The Go Programming Language\n\n[Solutions file](books/tgpl.markdown)\n\n|Exercises range|Page|Date|\n|---------------|----|----|\n|1.1-1.3|8|2020.08.10|\n\n### Cryptopals\n\n|Set|Challenge|Link|Solution|Language|Completed on|\n| - | ------- | -- | ------ | ------ | ---------- |\n|1|1|[Convert hex to base64](https://cryptopals.com/sets/1/challenges/1)|[/cryptopals/set1](https://github.com/TanguyAndreani/solutions/tree/master/cryptopals/set1)|C|2020.07.10|\n|1|2|[Fixed XOR](https://cryptopals.com/sets/1/challenges/2)|[/cryptopals/set1](https://github.com/TanguyAndreani/solutions/tree/master/cryptopals/set1)|C|2020.07.11|\n|1|3|[Single-byte XOR cipher](https://cryptopals.com/sets/1/challenges/3)|[/cryptopals/set1](https://github.com/TanguyAndreani/solutions/tree/master/cryptopals/set1)|C|2020.07.12|\n|1|4|[Detect single-character XOR](https://cryptopals.com/sets/1/challenges/4)|[/cryptopals/set1](https://github.com/TanguyAndreani/solutions/tree/master/cryptopals/set1)|C|2020.07.13|\n\n### Leetcode\n\nThe *Faster than* entry is there to give an idea. The measurement is not accurate and could make one to believe that my solutions are close to optimal. Which they probably aren't in most cases. So beware and run benchmarks when in doubt.\n\nWhen you see a benchmark like \"Faster than 100% (0ms)\", it's usually that everyone has a very high benchmark.\n\n|Problem|Solution|Faster than|Approx. time spent|Complexity\u003csup\u003e\\*\u003c/sup\u003e|Date|\n|-------|--------|-----------|------------------|----------|----|\n|[Find First and Last Position of Element in Sorted Array](https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array)|[searchRange.go](https://github.com/TanguyAndreani/solutions/tree/master/leetcode/searchRange.go)|99.45% (4ms)|60min|O(lg(n) + k)|2020.08.22|\n|[Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters/)|[lengthOfLongestSubstring.go](https://github.com/TanguyAndreani/solutions/tree/master/leetcode/lengthOfLongestSubstring.go)|93.38% (4ms)|27min|O(n\u003csup\u003e2\u003c/sup\u003e)|2020.08.22|\n|[String to Integer (atoi)](https://leetcode.com/problems/string-to-integer-atoi/)|[myAtoi.go](https://github.com/TanguyAndreani/solutions/tree/master/leetcode/myAtoi.go)|100% (0ms)|10min|O(n)|2020.08.22|\n|[Palindrome Number](https://leetcode.com/problems/palindrome-number)|[isPalindrome.go](https://github.com/TanguyAndreani/solutions/tree/master/leetcode/isPalindrome.go)|72.57% (16ms)|12min|O(n)|2020.08.22|\n|[Regular Expression Matching](https://leetcode.com/problems/regular-expression-matching/)|[isMatch.go](https://github.com/TanguyAndreani/solutions/tree/master/leetcode/isMatch.go)|23.98% (20ms)|\u003e4h|O(?)|2020.08.23|\n|[Reverse integer](https://leetcode.com/problems/reverse-integer/)|[reverseInteger.go](https://github.com/TanguyAndreani/solutions/tree/master/leetcode/reverseInteger.go)|100% (0ms)|20-30min|O(N)|2020.11.21|\n\n\n\u003c!--\n|[]()|[.go](https://github.com/TanguyAndreani/solutions/tree/master/leetcode/.go)|||O()|2020.08.22|\n--\u003e\n\n\u003csup\u003e\\*\u003c/sup\u003e May not be accurate, feel free to correct.\n\n### HackerRank\n\n*Just the challenges that are ranked from medium to hard.*\n\n\n|Problem|Solution|Complexity\u003csup\u003e\\*\u003c/sup\u003e|Date|\n|-------|--------|-----------------------|----|\n|[Array Manipulation](https://www.hackerrank.com/challenges/crush/problem)|[array_manipulation](/hackerrank/array_manipulation)|O(N)|2022.05.06|\n\n\u003csup\u003e\\*\u003c/sup\u003e May not be accurate, feel free to correct.\n\n### Project Euler\n\n![](https://projecteuler.net/profile/lmbdfn.png)\n\nIf you want to add me as a friend on Project Euler, send an email with your key.\n\n|Problem|Link|Solution|Completed on|\n| ------- | -- | ------ | ---------- |\n|1|[Multiples of 3 and 5](https://projecteuler.net/problem=1)|[/projecteuler](https://github.com/TanguyAndreani/solutions/tree/master/projecteuler/src/problem1)|2020.07.11|\n|2|[Even Fibonacci numbers](https://projecteuler.net/problem=2)|[/projecteuler](https://github.com/TanguyAndreani/solutions/tree/master/projecteuler/src/problem2)|2020.07.11|\n|3|[Largest Prime Factor](https://projecteuler.net/problem=3)|[/projecteuler](https://github.com/TanguyAndreani/solutions/tree/master/projecteuler/src/problem3)|2020.07.13|\n|3|[Largest palindrome product](https://projecteuler.net/problem=4)|[/projecteuler](https://github.com/TanguyAndreani/solutions/tree/master/projecteuler/src/problem4)|2020.08.22|\n\n### Root-Me.Org\n\nIt is against the website's policy to share solutions. So I won't share them. But if you really need help with a problem I solved, I can help a bit.\n\n[My profile](https://www.root-me.org/lmbdfn)\n\n|Category|Link|Completed on|\n| ------- | ---------- | ------ |\n|App - Script|[Bash - System 1](https://www.root-me.org/fr/Challenges/App-Script/ELF32-System-1)|2020.07.11|\n|App - Script|[sudo - faiblesse de configuration](https://www.root-me.org/fr/Challenges/App-Script/sudo-faiblesse-de-configuration)|2020.07.11|\n|App - Script|[Bash - System 2](https://www.root-me.org/fr/Challenges/App-Script/ELF32-System-2)|2020.07.11|\n|App - Script|[Perl - Command injection](https://www.root-me.org/fr/Challenges/App-Script/Perl-Command-injection)|2020.07.11|\n|App - Script|[Bash - cron](https://www.root-me.org/fr/Challenges/App-Script/Bash-cron)|2020.07.11|\n|Web - Client|[HTML - boutons désactivés](https://www.root-me.org/fr/Challenges/Web-Client/HTML-boutons-desactives)|2020.07.11|\n|Web - Client|[Javascript - Anthentification](https://www.root-me.org/fr/Challenges/Web-Client/Javascript-Authentification)|2020.07.11|\n|Web - Client|[Javascript - Source](https://www.root-me.org/fr/Challenges/Web-Client/Javascript-Source)|2020.07.11|\n|Web - Client|[Javascript - Anthentification 2](https://www.root-me.org/fr/Challenges/Web-Client/Javascript-Authentification-2)|2020.07.11|\n|App - Script|[Powershell - Command injection](https://www.root-me.org/fr/Challenges/App-Script/Powershell-Command-injection)|2020.07.11|\n|Cryptanalyse|[Encodage - ASCII (x/)](https://www.root-me.org/fr/Challenges/Cryptanalyse/Encodage-ASCII)|2020.07.11|\n|App - Script|[Python - input()](https://www.root-me.org/fr/Challenges/App-Script/Python-input)|2020.07.12|\n|App - Script|[Python - pickle](https://www.root-me.org/fr/Challenges/App-Script/Python-pickle)|2020.07.12|\n|App - Système|[ELF x86 - Stack buffer overflow basic 1](https://www.root-me.org/fr/Challenges/App-Systeme/ELF-x86-Stack-buffer-overflow-basic-1)|2020.07.12|\n|App - Système|[ELF x86 - Stack buffer overflow basic 2](https://www.root-me.org/fr/Challenges/App-Systeme/ELF-x86-Stack-buffer-overflow-basic-2)|2020.07.12|\n|App - Système|[PE32 - Stack buffer overflow basic](https://www.root-me.org/fr/Challenges/App-Systeme/PE32-Stack-buffer-overflow-basic)|2020.07.14|\n|App - Script|[Python - PyJail 1](https://www.root-me.org/fr/Challenges/App-Script/Python-PyJail-1)|2020.07.14|\n|App - Script|[Python - PyJail 2](https://www.root-me.org/fr/Challenges/App-Script/Python-PyJail-2)|2020.07.15|\n|Web - Client|[Javascript - Obfuscation 1](https://www.root-me.org/fr/Challenges/Web-Client/Javascript-Obfuscation-1)|2020.07.15|\n|Web - Client|[Javascript - Obfuscation 2](https://www.root-me.org/fr/Challenges/Web-Client/Javascript-Obfuscation-2)|2020.07.15|\n|Web - Serveur|[HTML - Code source](https://www.root-me.org/fr/Challenges/Web-Serveur/HTML-Code-source)|2020.07.16|\n|Web - Serveur|[HTTP - Open redirect](https://www.root-me.org/fr/Challenges/Web-Serveur/HTTP-Open-redirect)|2020.07.16|\n|App - Système|[ELF x64 - Stack buffer overflow - basic](https://www.root-me.org/fr/Challenges/App-Systeme/ELF-x64-Stack-buffer-overflow-basic)|2020.07.16|\n|Stéganographie|[Gunnm](https://www.root-me.org/fr/Challenges/Steganographie/Gunnm)|2020.07.23|\n|Stéganographie|[Pas très carré](https://www.root-me.org/fr/Challenges/Steganographie/Pas-tres-carre)|2020.07.23|\n|App - Système|[ELF x86 - Race condition](https://www.root-me.org/fr/Challenges/App-Systeme/ELF-x86-Race-condition)|2020.07.23|\n\n### Exercism\n\nJust discovered an old account :) [My solutions](https://exercism.io/profiles/TanguyAndreani)\n\n|Category|Link|Completed on|\n| ------- | ---------- | ------ |\n|Ruby|[Hello World](https://exercism.io/my/tracks/ruby)|2019.06.14|\n|Ruby|[Two Fer](https://exercism.io/my/tracks/ruby)|2019.06.14|\n|Ruby|[Acronym](https://exercism.io/my/tracks/ruby)|2019.06.14|\n|Ruby|[Resistor Color Duo](https://exercism.io/my/tracks/ruby)|2020.07.20|\n|Ruby|[High Scores](https://exercism.io/my/tracks/ruby)|2020.07.20|\n|x86-64 Assembly|[Hello World](https://exercism.io/my/tracks/x86-64-assembly)|2020.07.20|\n\n### 99 Lisp Problems\n\nA series of exercises targeted at Lisp programmers.\n\n- [The exercises](https://www.ic.unicamp.br/~meidanis/courses/mc336/2006s2/funcional/L-99_Ninety-Nine_Lisp_Problems.html)\n- [My solutions](https://github.com/TanguyAndreani/solutions/tree/master/l99)\n\n#### By date\n\n|Date|Number of problems|\n| --- | --- |\n|2020.07.17|3|\n|2020.07.19|1|\n|2020.08.21|4|\n\n### pwnable.kr\n\n|Title|Completed on|\n| ------- | ------ |\n|fd|2020.07.18|\n|col|2020.07.18|\n\n### CTF I participated in\n\nSee [ctf/](https://github.com/TanguyAndreani/solutions/tree/master/ctf).\n\n- HeroCTF v3 (Early 2021, with [@mariuscontoli](https://github.com/mariuscontoli))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faziliz1%2Fsolutions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faziliz1%2Fsolutions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faziliz1%2Fsolutions/lists"}