my test for c , linux , algorithm