Programming Models In Algorithm