Again Lucky number , kmp , dp