P And Np Problems In Toc