#include <bits/types/struct_tm.h> #include <vector> class Solution { public: vector<vector<int> > permute(vector<int> &num) { vector<vector<int>> result; vector<int> tmp; vector<int> visit(num.size(), 0); back...