I hereby claim:
- I am pmiguel on github.
- I am pmiguel (https://keybase.io/pmiguel) on keybase.
- I have a public key ASATo3vLa750CY8p2xdd8-Ro9fOtUhGwIerxWeoLSh_oZwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var phrase = "I love to be me. I think me is awesome. Is is a good call. love awesome."; | |
function mapReduce(string) { | |
var reduced = []; | |
var replaced = string.replace(/\./g, ''); | |
var tokens = replaced.split(' '); | |
var mappedStr = tokens.map( function(element) { | |
return {s:element, n:1}; |
/** | |
* | |
* @author Pedro | |
*/ | |
public class Stack { | |
private Node top; | |
private int nElems; | |
public Stack() { |
package leakyqueue; | |
/** | |
* | |
* @author Pedro | |
*/ | |
public class LeakyQueue { | |
private Node head; | |
private Node tail; |