Had you gone?
Did you have gone? Is the second sentence correcet or any grammar mistake?
No and yes, in that order. Only one of the verbs needs to be in the past tense:
Did you go?
Have you gone?
But you can't mix these two together -Did you have gone?
b