Evelynone

A straw shows which way the wind blows.


  • Home

  • About

  • Tags17

  • Archives23

  • Search

Data Structure VI Graph II

Posted on 05-05-2017 | Edited on 03-08-2020 |

A directed graph (or digraph) is a set of vertices and a collection of directed edges that each connects an ordered pair of vertices. We say that a directed edge points from the first vertex in the pair and points to the second vertex in the pair1.

Article Language: English
Example Language: Java
Reading Time: 2min

Read more »

Binary Search

Posted on 04-25-2017 | Edited on 03-08-2020 | In Algorithm |

Binary search is a search algorithm. The fundamental is that it reduces the searching range into half each time by comparing the middle element to the target. Normal binary search takes O(logn) comparisons, when n is the number of input. Space actually depends on the implementation. If not using recursion, there would be no extra space used in a regular binary search. Therefore, it normally is O(1).

Article Language: English
Example Language: Java
Reading Time: 17min

Read more »

Data Structure VI Graph I

Posted on 04-24-2017 | Edited on 03-08-2020 | In Algorithm |

A graph is formed by the non-empty set of vertex and set of edge. Use G <E, V> to represent a graph, G, and the sets of it’s vertex, V, and edge, E.

Article Language: English
Example Language: Java
Reading Time: 12min

Read more »

React Notes

Posted on 04-22-2017 | Edited on 03-08-2020 | In notes |

React, a JavaScript library for building user interfaces.1

Read more »

Observer Pattern

Posted on 04-09-2017 | Edited on 03-08-2020 | In Design Pattern |

观察者模式: 定义对象间的一种一对多的依赖关系, 当一个对象的状态发生改变时, 所有依赖于它的对象都得到通知并自动更新1.

Read more »

Java from char to String

Posted on 04-06-2017 | Edited on 03-08-2020 |

There is always a corresponding wrapper class for each primitive type in Java, and all wrapper classes are IMMUTABLE. Then what is a wrapper class for?

  • Can be used in Java generic, for example, the obect in List<Object> are wrapper class of primitive type.
  • Can be used to define and add member function.
  • Can be represented by null if not exists.

E.g. char --> Character

Article Langauge: Chinese
Example Langauge: Java
Reading Time: 17min

Read more »

Little about Singleton Pattern

Posted on 04-06-2017 | Edited on 03-08-2020 |

Singleton status is wether exists, and it only has one instance if it exists.

Article Language: Chinese
Example Language: Java
Reading Time: 5min

Read more »

Data Structure V Tree III

Posted on 04-05-2017 | Edited on 03-08-2020 | In Data Structure |

─=≡Σ((( つ•̀ω•́)つ BS🌲

Article Language: English
Example Language: Java
Reading Time: 6min

Read more »

Data Structure V Tree II

Posted on 04-04-2017 | Edited on 03-08-2020 | In Data Structure |

─=≡Σ((( つ•̀ω•́)つ Traverse 🌲

Article Language: English
Example Language: Java
Reading Time: Depends

Read more »

Data Structure V Tree I

Posted on 04-03-2017 | Edited on 03-08-2020 | In Data Structure |

A directed acyclic graph (DAG!) is a directed graph that contains no cycles. A rooted tree is a special kind of DAG and a DAG is a special kind of directed graph. For example, a DAG may be used to represent common subexpressions in an optimising compiler.[1]

Article Language: Chinese
Example Language: Java
Reading Time: 3min

Read more »
123
Evelyn

Evelyn

Do more; know more; be more.

23 posts
6 categories
17 tags
© 2020 Evelyn