Coder Social home page Coder Social logo

zhuichao001 / hawker Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 6.04 MB

Common engineering data structures and algorithms, such as linear,tree,linked list,graph,greedy,divide and conquer,dynamic programming, backtracking, depth search, breadth search and so on

Go 5.90% Makefile 0.69% C 17.09% C++ 75.43% Python 0.66% Assembly 0.23%
bloom-filter algorithm hashing bplus-tree avl-tree astar edit-distance lru lfu lock-free

hawker's Introduction

senior project algrithm adventure

  • *A STAR(A) **
  • LRU CACHE
  • LFU CACHE
  • LOCK FREE(list/ring-buffer)
  • QUIC SORT
  • CONSISTENT HASH
  • FREE LOCK RING BUFFER
  • BINARY SEARCH
  • EDIT DISTANCE
  • BINARY HEAP
  • FREQUENCE STACK
  • SKIP LIST
  • AVL TREE
  • RATE LIMITER
  • COUT PRIMER
  • UNION FIND
  • GCD LCM
  • HUFF MAN
  • SEGMENT TREE
  • HASH CODE / HASH FUNCTOR
  • BIG PRIMES
  • BLOOM FILTER
  • C++11 ADVANCED FEATURES
  • B+ TREE
  • PERMUTATIONS
  • SLIDING WINDOW

hawker's People

Contributors

zhuichao001 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

bircanonal

hawker's Issues

Algorithmic problem

Hi. Thanks for your repo.
I am new to competitive programming, and on one platform I came across the following problem. I would be grateful for advice in its optimal solution.

Two binary matrices are given. You need to bring them to the same size and count the number of differences. There can be up to 10^6 elements in the matrix.

For example, for the following two matrices
110 11
000
the answer is 8 (the final size is 2x6).

It is clear that they can be reduced to the same size using the Euclidean algorithm, but I have no further ideas.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.