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
func mergeSort(arr: [Int]) -> [Int]{ | |
func merge(left: [Int], right: [Int]) -> [Int] { | |
var m = 0 | |
var merged : [Int] = [] | |
var i = 0, j=0 | |
while i < left.count && j < right.count { |
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
'use strict'; | |
/** | |
* Usage: <span topcoat-icon="alert"></span> | |
*/ | |
angular.module('listoutfitterApp').directive('topcoatIcon', function () { | |
var fontfaceSupported = Modernizr.fontface; | |
// don't use the IcomaticUtils fallback data structure. | |
// For performance use a lookup hash instead. |
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
<html> | |
<head> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/knockout/2.2.1/knockout-min.js" type="text/javascript"></script> | |
<style type="text/css"> | |
#menu { | |
width: 400px; | |
cursor: pointer; |