Best Time to Buy and Sell Stock

Problem Description

Trapping Rain Water

Problem Description

Kth Smallest Element in a BST

Problem Description

Java 3 threads print in sequence

This is an interview question, the content of the question is like this.

Delete Node in a BST

Problem Description

Validate Binary Search Tree

Problem Description

Merge Sorted Array

Problem Description

SQL group by case example

Here's an interview question about SQL. To solve this problem, we need to use group by and the case function. The table structure is as follows.

Rotate Image

Problem Description

git refname refs heads master not found

I encountered this error while creating a repository on Github.

mac copy file content to clipboard in terminal

Use following command to copy file content to clipboard.

Intellij IDEA tutorial

Articles about how to use Intellij IDEA effectively

Delete IDEA completely on the MAC

In addition to deleting IDEA in your application, you also need to delete a few directories

mac bashrc not working

I want to use ll command in my MacBook. I try to add .bashrc file in my MacBook and its content is like following.

Unique Binary Search Trees

Problem Description