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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
parse_git_branch() { | |
branch=$(git rev-parse --abbrev-ref HEAD 2> /dev/null) | |
if [ "$branch" ]; then | |
if [ -n "$(git status --porcelain)" ]; then | |
echo -e "\002\033[38;5;121m\002$branch\033[5m🚨\033[25m" | |
else | |
echo -e "\001\033[38;5;113m\001$branch🍫" |
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
/****************************************************************************** | |
* | |
* Name: Johanna Mesa Ramos | |
* Coursera User ID: c02b4bb527298de170192d644483baeb | |
* Last modified: 08/2020 | |
* Course: Algorithms, Part I https://www.coursera.org/learn/algorithms-part1 | |
* | |
******************************************************************************/ | |
import edu.princeton.cs.algs4.In; | |
import edu.princeton.cs.algs4.Point2D; |
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
/****************************************************************************** | |
* | |
* Name: Johanna Mesa Ramos | |
* Coursera User ID: c02b4bb527298de170192d644483baeb | |
* Last modified: 07/2020 | |
* Course: Algorithms, Part I https://www.coursera.org/learn/algorithms-part1 | |
* | |
******************************************************************************/ | |
import edu.princeton.cs.algs4.Stack; |
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
/****************************************************************************** | |
* | |
* Name: Johanna Mesa Ramos | |
* Coursera User ID: c02b4bb527298de170192d644483baeb | |
* Last modified: 17/07/2020 | |
* Course: Algorithms, Part I https://www.coursera.org/learn/algorithms-part1 | |
* | |
******************************************************************************/ | |
import edu.princeton.cs.algs4.In; |
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
/* ***************************************************************************** | |
* Name: Johanna Mesa Ramos | |
* Coursera User ID: c02b4bb527298de170192d644483baeb | |
* Course: Algorithms, Part I https://www.coursera.org/learn/algorithms-part1 | |
**************************************************************************** */ | |
import java.util.Iterator; | |
public class Deque<Item> implements Iterable<Item> { | |
private Node front, back; |
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
/* ***************************************************************************** | |
* Name: Johanna Mesa Ramos | |
* Coursera User ID: c02b4bb527298de170192d644483baeb | |
* Last modified: 06/07/2020 | |
* Course: Algorithms, Part I https://www.coursera.org/learn/algorithms-part1 | |
**************************************************************************** */ | |
import edu.princeton.cs.algs4.WeightedQuickUnionUF; | |
public class Percolation { |