Towards Better Understanding of Algorithms and Complexity of Some Learning Problems