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
package primequads; | |
import java.util.ArrayList; | |
import java.util.List; | |
/** | |
* | |
* @author trendsetter37 | |
* | |
* prime quadruplets > 3 Take the form of {p, p+2, p+6, p+8} There should be 7 |
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
class Solution { | |
public static List<int[]> Combinations( List<int> numberList ) | |
{ |
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
#Ruby Prefix expressions problem on codeeval.com | |
File.open(ARGV[0]).each_line do |line| | |
# get operators using a regex | |
operators = line.scan(/[*+\/]/) #return list of operators | |
operators.reverse! | |
# This skips over spaces as well regex here once again |
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
<?php echo gangmei_get_the_post_thumbnail_url($post->ID, 'large'); ?> |
NewerOlder