Today, a friend asks me how to remove the unit from a column in Excel. The format of a column is like this 123.45 unit. The easiest way is …
A Stack is a data structure that satisfies Last-In-First-Out. It can be considered as a pile of plates where you always take the top plate (you put on last). …
Given an array of integers, every element appears twice except for one. Find that single one. Your algorithm should have a linear runtime complexity. Implement it without using extra …
Design and Implement a LRU (Least Recently Used) Cache that supports two operations i.e. get and set. get(key) – This method will retrieve the value (non-negative) of the key if …
Well, most people, when they start programming in C/C++, they would like to print something cool under console. Console, without graphics, is suitable for plain-text, i.e. ASCII code from …
The VBScript/Javascript under Windows is very helpful, which is often used as a daily administration programming language. WSH stands for Window Scripting Host. It is a Microsoft scripting-friendly environment, …