Skip to content

Instantly share code, notes, and snippets.

View thinkxacademy's full-sized avatar
🎯
Focusing

ThinkX Academy thinkxacademy

🎯
Focusing
View GitHub Profile
@imjacobclark
imjacobclark / LinearRegression.java
Created January 4, 2018 23:03
Simple Linear Regression implementation in Java
package xyz.jacobclark;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import static java.util.Arrays.asList;
public class LinearRegression {
private static final List<Integer> x = asList(2, 3, 5, 7, 9, 11, 14); // Consecutive hours developer codes
@mycodeschool
mycodeschool / DoublyLinkedList.c
Created November 12, 2013 11:38
Doubly Linked List implementation in C
/* Doubly Linked List implementation */
#include<stdio.h>
#include<stdlib.h>
struct Node {
int data;
struct Node* next;
struct Node* prev;
};