Git Explained
Git Reset Soft vs Mixed vs Hard: What Happens to Your Changes
· Git reset soft vs mixed vs hard | ek mode khatarnak hai
Undo a bad commit with git reset: --soft keeps the changes staged, --mixed (the default) keeps them unstaged in your files, and --hard deletes them. Ran --hard by mistake? git reflog can bring the commit back, but not uncommitted edits.
Interview SheetPractise the patterns behind interview problemsProblems grouped by pattern, each with the idea first and the code in four languages.


![Animated sliding window over the array [2, 1, 5, 1, 3, 2]: a three-number window adds the new number and subtracts the old one, showing sums 8, 7, 9 and 6 and a maximum of 9.](https://i.ytimg.com/vi/NM5paB6_7wg/maxresdefault.jpg)