| 606 | // O(log(n)) |
| 607 | template <typename Container> |
| 608 | bool is_permutation_of(const Container& xs, const Container& ys) |
| 609 | { |
| 610 | return size_of_cont(xs) == size_of_cont(ys) && sort(xs) == sort(ys); |
| 611 | } |
| 612 | |
| 613 | // API search type: fill_pigeonholes_to : (Int, [Int]) -> [Int] |
| 614 | // fwd bind count: 1 |
no test coverage detected