Would any one let me know the correct usage of instead of?
Here, I have written an example.
In this example case, if we traverse from vertex 2 to 3, in stead of vertex 2 to 4, the problem can be solved.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
That is pretty much correct.
Another example, "Tonight we are having pasta instead of chicken for dinner."
You use "instead of" to signify choosing one thing over another without necessarily commenting on the merits of either.