https://github.com/teohrt/kpalindromes
https://github.com/teohrt/kpalindromes
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/teohrt/kpalindromes
- Owner: teohrt
- Created: 2020-02-12T05:58:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T08:27:23.000Z (over 6 years ago)
- Last Synced: 2025-05-18T05:32:29.904Z (about 1 year 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