---
title: "Alex Kang (@alexkang) | Hashnode"
description: "Alex Kang (@alexkang) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@alexkang"
---

@alexkang

# Alex Kang

@alexkang · Joined May 2023

### [Useful Git Commands](https://alexkang.hashnode.dev/useful-git-commands?utm_source=hashnode&utm_medium=feed)

Knowing useful git commands can greatly help the development workflow. Here are some useful git commands and options that not everyone might know. 1. git status git status shows what files have been changed from the current HEAD commit. When you run ...

2 min read · [alexkang.hashnode.dev](https://alexkang.hashnode.dev/useful-git-commands?utm_source=hashnode&utm_medium=feed)

[May 11, 2023](https://hashnode.com/posts/useful-git-commands/645d75f07bff3cc59151eab8)

### [Callbacks](https://alexkang.hashnode.dev/callbacks?utm_source=hashnode&utm_medium=feed)

In JavaScript, functions can be treated like any other variable. So, it can be passed into a function and returned from a function. A callback function is a function passed into another function as an argument. Let's look at an example. // callback...

2 min read · [alexkang.hashnode.dev](https://alexkang.hashnode.dev/callbacks?utm_source=hashnode&utm_medium=feed)

[May 5, 2023](https://hashnode.com/posts/callbacks/64552d78a910e2e073a7544f)

### [Closure](https://alexkang.hashnode.dev/closure?utm_source=hashnode&utm_medium=feed)

After a function finishes executing, the local variables of the function are no longer available. What if we want to keep the state of the variables between multiple function calls? That's where JavaScript closures come in. A closure is when an inn...

2 min read · [alexkang.hashnode.dev](https://alexkang.hashnode.dev/closure?utm_source=hashnode&utm_medium=feed)

[May 4, 2023](https://hashnode.com/posts/closure/645444fe41e28144e607679b)

### [LRU Cache (LeetCode)](https://alexkang.hashnode.dev/lru-cache-leetcode?utm_source=hashnode&utm_medium=feed)

Problem Description https://leetcode.com/problems/lru-cache/ Design a data structure that follows the constraints of a Least Recently Used (LRU) cache. Implement the LRUCache class: LRUCache(int capacity) Initialize the LRU cache with positive size ...

5 min read · [alexkang.hashnode.dev](https://alexkang.hashnode.dev/lru-cache-leetcode?utm_source=hashnode&utm_medium=feed)

[May 3, 2023](https://hashnode.com/posts/lru-cache-leetcode/6451ad5d51f8a5026ab373f4)
