Microsoft Bing is partnering with HackerRank to bring code snippets directly into search results pages. Most of the time, programmers rely on search results to find a solution to their problem. They do a search in engines and figure out which blue link to click. Then, they have to transfer all of the things they read into their editor until they find the right solution. Microsoft Bing will solve this problem with their new feature.
When you search for an algorithm on Bing, you will be presented with the algorithm code directly in search results and you can also edit the code and play with it in real-time. No IDE installation required.
Here’s a quick example. Let’s say you wanted to concatenate a string in C#, but you have no idea how. All you would have to do is search the query and hit enter. You’ll immediately get the accurate solution, as well as the opportunity to edit the code right in your search results.
“In addition to learning how a certain algorithm/code is written in a given language, users will also be able to check how the same solution is constructed in a range of other programming languages too –providing a Rosetta-stone model for programming languages,” says Marcelo De Barros, Group Engineering Manager for the UX Features and Shared Tools at Bing.
Try it out yourself here.