I got 100% accuracy on my test set,is there something wrong?
There may be a few reason this is happening.


First of all, check your code. 100% accuracy seems unlikely in any setting. How many testing data points do you have? How many training data points did you train your model on? You may have made a coding mistake and compared two same list.
Did you use different test set for testing? The high accuracy may be due to luck - try using some of the KFoldCrossValidation libraries that are widely available.
You can visualise your decision tree to find our what is happening. If it has 100% accuracy on the test set, does it have 100% on the training set
?