Combinatorics.jl
Combinatorics.jl copied to clipboard
Derangements
Add a function to generate all derangements:
julia> map(join, derangements("abbac"))
4-element Vector{String}:
"baacb"
"bacba"
"bcaba"
"caabb"
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
e6888be) 96.97% compared to head (3e27e3a) 96.98%.
Additional details and impacted files
@@ Coverage Diff @@
## master #150 +/- ##
=======================================
Coverage 96.97% 96.98%
=======================================
Files 7 7
Lines 728 729 +1
=======================================
+ Hits 706 707 +1
Misses 22 22
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.