{"id":20294882,"url":"https://github.com/hackademymx/word-search-python-template","last_synced_at":"2025-03-04T05:27:04.770Z","repository":{"id":98622177,"uuid":"260543801","full_name":"hackademymx/word-search-python-template","owner":"hackademymx","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-18T20:48:42.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-14T09:41:25.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/hackademymx.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-01T19:40:16.000Z","updated_at":"2020-07-18T20:48:44.000Z","dependencies_parsed_at":"2023-04-24T22:03:43.788Z","dependency_job_id":null,"html_url":"https://github.com/hackademymx/word-search-python-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackademymx%2Fword-search-python-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackademymx%2Fword-search-python-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackademymx%2Fword-search-python-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackademymx%2Fword-search-python-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackademymx","download_url":"https://codeload.github.com/hackademymx/word-search-python-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241789916,"owners_count":20020566,"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":[],"created_at":"2024-11-14T15:31:49.022Z","updated_at":"2025-03-04T05:27:04.749Z","avatar_url":"https://github.com/hackademymx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Word Search Exercise\n\nThis challenge involves finding words in an 8x8 grid. Given a string of 64 *letters* and a string of words to find, convert the string to an 8x8 array, and return `true` if _all_ words in the string can be found in the array. Return `false` otherwise. Words can be read in any direction (horizontally, vertically or diagonally).\n\nYou should write the code inside the curly braces, where it says `Your amazing code here`.\n\n## Examples\n\n```python\nletters = \"PSUWHATSLPACKAGENYOLRDVLFINGEZBMIREHQNJOATBVGYESJDUWUESTPSTICKEY\"\nwords = [\"stick\", \"most\", \"key\", \"vein\", \"yes\", \"package\", \"tube\", \"target\", \"elm\", \"spy\"]\n```\n\nThis would give the list below:\n\n```python\n[\n  [\"P\", \"S\", \"U\", \"W\", \"H\", \"A\", \"T\", \"S\"],\n  [\"L\", \"P\", \"A\", \"C\", \"K\", \"A\", \"G\", \"E\"],\n  [\"N\", \"Y\", \"O\", \"L\", \"R\", \"D\", \"V\", \"L\"],\n  [\"F\", \"I\", \"N\", \"G\", \"E\", \"Z\", \"B\", \"M\"],\n  [\"I\", \"R\", \"E\", \"H\", \"Q\", \"N\", \"J\", \"O\"],\n  [\"A\", \"T\", \"B\", \"V\", \"G\", \"Y\", \"E\", \"S\"],\n  [\"J\", \"D\", \"U\", \"W\", \"U\", \"E\", \"S\", \"T\"],\n  [\"P\", \"S\", \"T\", \"I\", \"C\", \"K\", \"E\", \"Y\"]\n]\n```\n\nYou would return `true` as all words can be found:\n\n```python\n[\n  [\"_\", \"S\", \"_\", \"_\", \"_\", \"_\", \"T\", \"_\"],\n  [\"_\", \"P\", \"A\", \"C\", \"K\", \"A\", \"G\", \"E\"],\n  [\"N\", \"Y\", \"_\", \"_\", \"R\", \"_\", \"_\", \"L\"],\n  [\"_\", \"I\", \"_\", \"G\", \"_\", \"_\", \"_\", \"M\"],\n  [\"_\", \"_\", \"E\", \"_\", \"_\", \"_\", \"_\", \"O\"],\n  [\"_\", \"T\", \"B\", \"V\", \"_\", \"Y\", \"E\", \"S\"],\n  [\"_\", \"_\", \"U\", \"_\", \"_\", \"E\", \"_\", \"T\"],\n  [\"_\", \"S\", \"T\", \"I\", \"C\", \"K\", \"_\", \"_\"]\n]\n```\n\n## Local Test\n\nFor testing your code you must run: \n\n```sh\npytest\n```\n\n## Notes:\n\n- You can read the test files, so you can have an idea of what is the expected result, but **do not edit them** please.\n\n- Words must be contained inside the grid, without wrapping over columns/rows.\n\n- **Check for map, slice, wrap python functions** in your solution.\n\nIf you have any doubts, feel free to ask 😊\n\nGood luck! 🚀\n\nMade with 💚 for Hackademy 🇲🇽.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackademymx%2Fword-search-python-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackademymx%2Fword-search-python-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackademymx%2Fword-search-python-template/lists"}