Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: Algorithm

Differential search algorithms (non-recursive)

/**
* @param data Array with search (array)
* @param target target data
* @return returns the corresponding subscript, -1 means Not found
*/
public static int binarySearch(int[] data, int targ

October 17, 2021By Simo Mathematics 2 points, Algorithm, Find, non-recursive, Two pointsLeave a Comment

Data Structure and Algorithm – Arrange

An array is a data structure composed of a collection of elements of the same type, and a contiguous memory is allocated for storage. The index of the element can be used to calculate the storage a

October 17, 2021By Simo Mathematics Algorithm, array, data, structureLeave a Comment

Language-independent – What algorithms should I use when performing FilecheckSums to find deception?

Is the amount of MD5 still suitable for checking file fraud? I know it is not safe, but is it really important in the case of trying to find file spoofing?

Should I use something in the SHA s

October 17, 2021By Simo Mathematics Algorithm, deception, execution, filechecksums, Find, independent, Language, should, time, whatLeave a Comment

Check and determine the CRC algorithm from the data CRC – embedded application.

I have a set of data protected by a 16-bit checksum and I need to correct it. The checksum locations are known, the exact area where they are calculated and the exact algorithm used to calculate th

October 17, 2021By Simo Os Theory Algorithm, application, check, CRC, data, determination, embedding, program, styleLeave a Comment

Algorithm – thousands of lights with triangles in 3D space

There are thousands of rays and triangles. We need to get all the intersections. If we use a normal two-level loop, we need O(mn) time complexity. Is there How to reduce the time complexity from O(

October 17, 2021By Simo Mathematics 3d, Algorithm, cross, light, Medium, space, thousands, triangleLeave a Comment

[DONGLE] [Data Structure] [Algorithm] Search the node and the number of leaf nodes

Recently, through doing data structure test questions, a lot of trees have appeared The number of nodes. Here is a summary of the algorithm for finding nodes:

Known one Lesson degree iskThe t

October 15, 2021By Simo Data Structure Algorithm, Data Structure, DONGLE, Leaf, Node, Number, seeking, TreeLeave a Comment

Genetic algorithm initial seed diversity usage value encoding C #

I want to know the following:
How to use value coding to efficiently generate the initial generation of highly diverse chromosomes?
One method is grid initialization, but it is too slow.

So

October 15, 2021By Simo Character Algorithm, C #, code, diversity, Genetic, Initial, seed, usage, valueLeave a Comment

[Data Structure] Data Structure and Algorithm (1) – Linear Structure

1. Foreword Linear structure is a basic data structure, mainly used To describe the data relationship that has a single predecessor and successor in the objective world. That is “arranged one by o

October 15, 2021By Simo Data Structure Algorithm, data, Data Structure, linear, one, structureLeave a Comment

Stability detection of consistency hash algorithm and its problems and solvement strategies

Join a machine node:

assumes p2p network To add a new machine node N(new), then N(new) must first establish a connection with the N(x) node in the p2p network, and use N(x) to find the corres

October 14, 2021By Simo ZooKeeper Algorithm, Consistency, existence, Hash, problem, Resolution, stability, Strategy, TestingLeave a Comment

Consistency hash algorithm implementation (pseudo code)

Refer to this blog for the principle of consistent Hash algorithm, and the introduction is more detailed: https://www.cnblogs.com/lpfuture/p/5796398.html

Preset scene: all requests Then, acco

October 14, 2021By Simo ZooKeeper Algorithm, code, Consistency, Hash, Implementation, PseudoLeave a Comment

Posts navigation

Page 1 Page 2 … Page 4
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress