Some of the more obvious hints are them turning their body away from you, giving short or curt answers, avoiding eye contact, leaning back to get more personal space, closed or defensive stances (such as folded arms or tightly crossed legs) and their avoiding your touch.
Signs of interest can be found in open stances, playing with hair, touching you, closing the distance between the two of you, somewhat longer eye contact, looking at lips (often a sign of wanting to kiss), tilted head, imitation of your posture (especially if mirrored) and such.
Keep in mind though, those are signs of attention and/or interest. It doesn't mean they want to have sex with you (yet). It just means you're interesting enough to warrant talking to at this point. There's of course way more to it than this, I'll send you an article on it if you'd like.