aboutsummaryrefslogtreecommitdiff
path: root/num_ways_reorder_array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'num_ways_reorder_array.cpp')
-rw-r--r--num_ways_reorder_array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/num_ways_reorder_array.cpp b/num_ways_reorder_array.cpp
index df5e538..9adcb55 100644
--- a/num_ways_reorder_array.cpp
+++ b/num_ways_reorder_array.cpp
@@ -45,7 +45,7 @@ class Solution {
}
public:
- int numOfWays(vector<int> &nums) { return (int)dfs(nums) - 1; }
+ int numOfWays(vector<int> &nums) { return dfs(nums) - 1; }
};
int main() {