Skip to content

Instantly share code, notes, and snippets.

@gengwg
Created April 25, 2025 17:52
Show Gist options
  • Save gengwg/5cc870e06b290371b992cf16cad2098f to your computer and use it in GitHub Desktop.
Save gengwg/5cc870e06b290371b992cf16cad2098f to your computer and use it in GitHub Desktop.
JP MORGAN
- trader hdedge
- quant research
software developer
1. large book index words/pages
- indexs wors page # increasing order
O(N)
Sorting (ONlgN)
list scan pages no need to sort-
duplicate number
2. N tokens same. red one side, black the other
K is red side up.
divide two groups. have same number of red side up.
room is dark.
[K,N-K]
X reds, K-X reds
Flip--> K-X
3. Combination of 2 locks with 3 digits, or 1 lock with 6 digits safe?
1 w 6.
how to you make them as safe?-
hung them together.
4. call the function i
insider the function maches something large dataset
how do you make good prediction?
rest, vlidation whole?
5. dependency graph
6 memset(this, 0, sizeof(*this))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment