##mailinglists
##list of speakers
| var checkPrime = function(n) { | |
| "use strict"; | |
| if (n === 1) { | |
| return false; | |
| } | |
| var isPrime = true; | |
| for (let i = 2; i < n;) { | |
| if (n % i === 0) { | |
| isPrime = false; | |
| } |
##mailinglists
##list of speakers
| import sys | |
| import json | |
| myfile = sys.stdin | |
| if myfile: | |
| content = myfile.readlines() | |
| for line in content: | |
| try: | |
| json.loads(line) | |
| except Exception as e: | |
| print "Invalid JSON" |
| public class Solution { | |
| public int maxSubArray(int[] nums) { | |
| if(nums.length == 0){ | |
| return 0; | |
| } | |
| int[] sum = new int[nums.length]; | |
| int[] indices = new int[nums.length]; | |
| sum[0] = nums[0]; | |
| indices[0] = 0; | |
| for(int i = 1 ; i < nums.length ; ++i){ |
| [ | |
| "xterm-inate", | |
| "DEADBEEF", | |
| "hackslash", | |
| "SQL Injectors", | |
| "Hexspeak", | |
| "The Brogrammers", | |
| "GitHub Says What?", | |
| "Bits Please", | |
| "SaaStar", |
$ Install Node.js (Puppeteer requires at least Node v6.4.0)
$ Install puppeteer
$ node query.js > output.txt
| table peers : { A : client, B : channel ( string ) , C : string} | |
| PRIMARY KEY A | |
| table random : {C : string} | |
| sequence seq | |
| fun increment a = nextval seq | |
| fun main () = |
| ccopy_reg | |
| _reconstructor | |
| p0 | |
| (csklearn.pipeline | |
| Pipeline | |
| p1 | |
| c__builtin__ | |
| object | |
| p2 | |
| Ntp3 |
| private boolean sumsToTarget(int[] arr, int k) { | |
| for (int i = 0; i < arr.length; i++) { | |
| for (int j = i + 1; j < arr.length; j++) { | |
| if (arr[i] + arr[j] == k) { | |
| return true; | |
| } | |
| } | |
| } | |
| return false; | |
| } |
| private boolean sumsToTarget(int[] arr, int k) { | |
| Arrays.sort(arr); | |
| for (int i = 0; i < arr.length; i++) { | |
| int siblingIndex = Arrays.binarySearch(arr, k - A[i]); | |
| if (siblingIndex >= 0) { | |
| // Found it! | |
| if (siblingIndex != i || (i > 0 && arr[i-1] == arr[i]) || (i < arr.length - 1 && arr[i+1] == arr[i])) | |
| { return true; } | |
| } | |
| } |