"Contest" means an adversary proceeding between a candidate for a public office who has received the greatest number of votes and any other candidate for that office or, in certain cases, any registered voter of the appropriate political subdivision, for the purpose of determining the validity of an election.
NRS 293.042