Skip to content

Instantly share code, notes, and snippets.

View ayushjain7's full-sized avatar

Ayush Jain ayushjain7

View GitHub Profile
@ayushjain7
ayushjain7 / .vimrc
Last active October 13, 2016 21:44
"""""""""""""
" Ayush Jain
"""""""""""""
set nocompatible " Disable vi-compatibility
" Plugin setup through Vundle
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
1. maximum Difference
2. k-subsequence
3. single-line and multi-line comments
4. unique domains.
3.
import java.io.*;
public class Solution {
public static void main(String args[] ) throws Exception {

Questions?

  • tech stack? (languages and databases)
  • caching? locking?
  • any functional programming languages? lisp? clojure? docker?
  • is there a tech blog?
  • python -> not statically typed, no paranthesis, indentations matter.
  • ongoing projects, for us?
  • interested in 3rd, 4th and 5th.

Why oscar?

#Functions

integer_square_root

let integer_square_root n = int_of_float (sqrt (float_of_int n));;

GCD

let rec f x y = if (x > y) then if y=0 then x else (f (x-y) y) else if x=0 then y else (f x (y-x));;

multiple_upto

let rec f n r = if (r = 1) then false else if (n mod r = 0) then true else (f n (r-1));;

@ayushjain7
ayushjain7 / intersystems.md
Last active December 9, 2016 18:33
Why intersystems?