Which algorithm can be used in value imputation in both categorical and continuous categories of data?

KNN is the only algorithm that can be used for imputation of both categorical and continuous variables.