- 博客(6)
- 收藏
- 关注
原创 常见排序算法(Java实现)
常见排序算法实现。import java.util.Arrays;/** * * @ClassName: SortAlgorithms * * @Description: 常见的排序算法 java 实现 * void bubbleSort(T[]) 冒泡排序 * void insertSort(T[]) 插入排序 * void selectSort(T[]) 选择排序 * voi
2017-05-28 23:07:29 181
原创 二叉树遍历算法实现(递归、非递归)
二叉树遍历算法实现(递归、非递归)二叉树遍历可采用前序遍历(先根遍历)、中序遍历、后序遍历。具体实现算法包括递归和非递归。package Tree;import java.util.Stack;/** * * @ClassName: BinaryTree * * @Description: 二叉树相关算法实现 * * @author: ccding * @date: 2017年5月2
2017-05-28 23:04:42 690
原创 LeetCode Algorithms2: add two numbers
LeetCode algorithms 2 Problem You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the t
2016-08-04 16:56:56 216
原创 LeetCode Algorithms3: Longest substring without repeating characters(in swift)
LeetCode algorithms 3 Problem: Give a string, find the length of the longest substring without repeating characters. Examples: Give "abcabcbb", the answer is "abc",which the length is 3.
2016-08-04 16:38:11 305
转载 TwoSum
Question Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution.Example: Given nums
2016-08-02 12:53:40 503
原创 Hedonic Game Related Research
Title:Welfare maximization in fractional hedonic gamesauthors:Haris Aziz, Serge Gaspers Joachim, Gudmundsson, Juli´an Mestrehedonic game: comprises a set of agents who express preferences over coaliti
2016-08-02 10:11:54 1126
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人