Last active
February 7, 2016 10:53
-
-
Save vicegd/473410f4d15342733e5b to your computer and use it in GitHub Desktop.
Reveal.JS - Source code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section> | |
<h2>Inserción de código fuente</h2> | |
<pre><code class="hljs" data-trim contenteditable> | |
public void sort(int[] elements) { | |
for (int i = 1; i < elements.length; i++) { | |
for (int j = elements.length - 1; j >= i; j--) { | |
if (elements[j-1] > elements[j]) | |
Util.interchange(elements, j-1, j); | |
} | |
} | |
} | |
</code></pre> | |
<p>(Gracias a la librería <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>)</p> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment