MCPcopy Create free account
hub / github.com/codedecks-in/LeetCode-Solutions / permute

Method permute

Java/Perm_Recus.java:1–5  ·  view source on GitHub ↗
(int[] nums)

Source from the content-addressed store, hash-verified

1public List<List<Integer>> permute(int[] nums) {
2 List<List<Integer>> result = new ArrayList<>();
3 helper(0, nums, result);
4 return result;
5}
6
7private void helper(int start, int[] nums, List<List<Integer>> result)
8{

Callers

nothing calls this directly

Calls 1

helperMethod · 0.45

Tested by

no test coverage detected