Combinatorics.jl icon indicating copy to clipboard operation
Combinatorics.jl copied to clipboard

Derangements

Open FedericoStra opened this issue 1 year ago • 1 comments

Add a function to generate all derangements:

julia> map(join, derangements("abbac"))
4-element Vector{String}:
 "baacb"
 "bacba"
 "bcaba"
 "caabb"

FedericoStra avatar Dec 15 '23 13:12 FedericoStra

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.

codecov[bot] avatar Dec 15 '23 13:12 codecov[bot]