Title: fix: handle squares properly in `isSquareFree` by vil02 · Pull Request #228 · TheAlgorithms/TypeScript · GitHub
Open Graph Title: fix: handle squares properly in `isSquareFree` by vil02 · Pull Request #228 · TheAlgorithms/TypeScript
X Title: fix: handle squares properly in `isSquareFree` by vil02 · Pull Request #228 · TheAlgorithms/TypeScript
Description: The current implementation of isSquarefFree returns true for 9 = 3*3. This PR fixes that and adds missing tests and reorganizes them.
Open Graph Description: The current implementation of isSquarefFree returns true for 9 = 3*3. This PR fixes that and adds missing tests and reorganizes them.
X Description: The current implementation of isSquarefFree returns true for 9 = 3*3. This PR fixes that and adds missing tests and reorganizes them.
Opengraph URL: https://github.com/TheAlgorithms/TypeScript/pull/228
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c3ea88ae-6997-9826-4780-9f3763fa3370 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B678:12BEFE:BFEAC6:1147E91:6A6220D6 |
| html-safe-nonce | 59d51cab1858748415b46cb28c37b1a586e7b87c64b2195ccbb1f6ebb3575fbe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjc4OjEyQkVGRTpCRkVBQzY6MTE0N0U5MTo2QTYyMjBENiIsInZpc2l0b3JfaWQiOiIyNzU3NzQ2MjQ5OTc0MjkyNjk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fde2caa5770709ce708588ac8d0beac14e11fec6428b0da06e0a316458b703a9 |
| hovercard-subject-tag | pull_request:1719971642 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/TheAlgorithms/TypeScript/pull/228/files |
| twitter:image | https://avatars.githubusercontent.com/u/65706193?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/65706193?s=400&v=4 |
| og:image:alt | The current implementation of isSquarefFree returns true for 9 = 3*3. This PR fixes that and adds missing tests and reorganizes them. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | be68eaf9abf2a202afbd94047d7200fb88b7edb0338f533bf171bbb1a69fab4e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/TheAlgorithms/TypeScript git https://github.com/TheAlgorithms/TypeScript.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 532391729 |
| octolytics-dimension-repository_nwo | TheAlgorithms/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 532391729 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d00b04c8874615454dfbdb32a7d2ca4db66d3f4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width