An open API service indexing awesome lists of open source software.

https://github.com/teohrt/kpalindromes


https://github.com/teohrt/kpalindromes

Last synced: 8 months ago
JSON representation

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