Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teohrt/kpalindromes
https://github.com/teohrt/kpalindromes
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/teohrt/kpalindromes
- Owner: teohrt
- Created: 2020-02-12T05:58:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T08:27:23.000Z (almost 5 years ago)
- Last Synced: 2023-03-01T02:32:39.566Z (almost 2 years ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kPalindromes
Given an int k, and a string s, write a function that returns a bool representing if k number of palindromes can be created from permutations of s that utilize ALL characters of s.My solution solves this with complexity:
O(n) time | O(n) space