Pergunta de entrevista da empresa KritiKal SecureScan

How to find whether a point lies inside a polygon or outside?