I hereby claim:
- I am helen-gu on github.
- I am helengu (https://keybase.io/helengu) on keybase.
- I have a public key ASCt8qeEi-keTyADTV1PcokxAupOvMwrz-Z540NHVEuthwo
To claim this, I am signing this object:
| # Copyright 2019-2022 Jonathan S. Katz | |
| # | |
| # MIT License | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |
I hereby claim:
To claim this, I am signing this object:
rebase vs merge).rebase vs merge)reset vs checkout vs revert)git rev-parse)pull vs fetch)stash vs branch)reset vs checkout vs revert)git reset vs git rm --cached)rebase vs merge).rebase vs merge)reset vs checkout vs revert)git rev-parse)pull vs fetch)stash vs branch)reset vs checkout vs revert)git reset vs git rm --cached)Picking the right architecture = Picking the right battles + Managing trade-offs
| Below are the Big O performance of common functions of different Java Collections. | |
| List | Add | Remove | Get | Contains | Next | Data Structure | |
| ---------------------|------|--------|------|----------|------|--------------- | |
| ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array | |
| LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List | |
| CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array | |