This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Delete Remote branch: | |
$ git push origin :newfeature | |
# Show details of a specific commit: | |
$ git show 44f1f96e23ecb835e4442bf464861231b2d96d7e | |
# Merge specific files from another branch: | |
# You are in the branch you want to merge to | |
$ git checkout <branch_you_want_to_merge_from> <file_paths...> |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Java program for inorder, preorder, postorder and levelorder tree traversals both recursive and iterative. | |
import java.util.LinkedList; | |
import java.util.Queue; | |
import java.util.Stack; | |
import java.util.ArrayList; | |
/* Class containing left and right child of current | |
node and key value*/ | |
class Node { |
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?