Algorihtims and codes

I want to know if you know once I create something like a algorithim or code how do I send these off to companies and to try to sell or market it …any advise or feedback thanks …also any websites on best algorihtims and codes programming languages…