DMITRII PECHERITSA
DMITRII PECHERITSA
  • 信息
5+ 年
经验
0
产品
0
演示版
0
工作
0
信号
0
订阅者
trader, programmer
DMITRII PECHERITSA
已发布代码introsort - array sorting algorithm
hybrid sorting algorithm that provides both fast average performance and (asymptotically) optimal worst-case performance
1 173
DMITRII PECHERITSA
已发布代码gnome sort - array sorting algorithm
gnome sort is based on the technique used by the dutch garden gnome
305
DMITRII PECHERITSA
已发布代码insertion sort - array sorting algorithm
a simple sorting algorithm that people use to manually sort cards in a bridge hand
1 173
DMITRII PECHERITSA
已发布代码selection sort - array sorting algorithm
an in-place comparison sorting algorithm
124
DMITRII PECHERITSA
已发布代码shell sort - array sorting algorithm
an in-place comparison sort
164
DMITRII PECHERITSA
已发布代码heap sort - array sorting algorithm
a much more efficient version of selection sort
190
DMITRII PECHERITSA
已发布代码merge sort - a merging method comparison-based sorting algorithm
an efficient, general-purpose sorting algorithm
176
DMITRII PECHERITSA
已发布代码quick sort - sorting algorithm
a highly efficient sorting algorithm, based on partitioning of array of data into smaller arrays
199
DMITRII PECHERITSA
已发布代码visitor - behavioral design pattern
represent an operation to be performed on the elements of an object structure. visitor lets you define a new operation without changing the classes of the elements on which it operates
150
DMITRII PECHERITSA
已发布代码template method - behavioral design pattern
define the skeleton of an algorithm in an operation, deferring some steps to subclasses. template method lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure
206
DMITRII PECHERITSA
已发布代码strategy - behavioral design pattern
define a family of algorithms, encapsulate each one, and make them interchangeable. strategy lets the algorithm vary independently from clients that use it
1 243
DMITRII PECHERITSA
已发布代码state - behavioral design pattern
allow an object to alter its behavior when its internal state changes. the object will appear to change its class
1 183
DMITRII PECHERITSA
已发布代码observer (pull model) - behavioral design pattern
define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically
2 135
DMITRII PECHERITSA
已发布代码observer (push) - behavioral design pattern
define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically
127
DMITRII PECHERITSA
已发布代码Memento - behavioral design pattern
without violating encapsulation, capture and externalize an object's internal state so that the object can be restored to this state later
147
DMITRII PECHERITSA
已发布代码Mediator - behavioral design pattern
Define an object that encapsulates how a set of objects interact mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently
148
DMITRII PECHERITSA
已发布代码Iterator - behavioral design pattern
Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation
153
DMITRII PECHERITSA
已发布代码Interpreter - behavioral design pattern
Given a language, define a represention for its grammar along with an interpreter that uses the representation to interpret sentences in the language
136
DMITRII PECHERITSA
已发布代码Command - behavioral design pattern
Encapsulate a request as an object thereby letting you parameterize clients with different requests. Queue or log requests, and support undoable operations
149
DMITRII PECHERITSA
已发布代码Chain of responsibility - behavioral design pattern
Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it
2 138
123