Life is a journey

Welcome to my personal site :)

First time I saw a cadaver

A couple days ago we had the abdominal viscera prac in anatomy lab, first time I saw a full cadaver, full human body lying on the table. During the lab I was fine, actually quiet excited to lear......

Scalpel

Pain comes in every form

Scalpel Life is like being on an operation table, You are going to die in the end, Oh dear death always win, Love is not a cure, But rather the anesthetics, Put you to sleep and numb you from the ......

The Road Not Taken

I took the one less traveled by,and that has made all the difference.

The Road Not Taken by Robert Frost 1915 Two roads diverged in a yellow wood And sorry I could not travel both And be one traveler, long I stood And looked down one as far as I could To where it b......

Use Flag to change status

Study notes for JavaScript

Judgement of Prime Number Q: User input a number, determine if the number is a prime number First Try 1234567891011121314151617function vertify(){ var num = document.getElementByI......

Search Insert Position

Leetcode practice log

Search Insert Position Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order......

Remove Element

Leetcode practice log

Remove Element Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The relative order of the elements may be changed. Since it is impossible to change th......

Remove Duplicates from Sorted Array

Leetcode practice log

Remove Duplicates from Sorted Array Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once. The relative order of......

Palindrome Number

Leetcode practice log

Palindrome Number Given an integer x, return true if x is palindrome integer. An integer is a palindrome when it reads the same backward as forward. For example, 121 is palindrome while 123 is not.......

JavaScript The Definitive Guide_Chap1~3

Study notes for JavaScript

Chapter 1-2 html determine content. css determine presentation, js determine behavior curly brace; square brace; Semicolons object: properties->value arrays: element 赋值:assignment 调用:invoke 继承......

Reverse Interger

Leetcode practice log

Reverse Interger Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer range [-231, 231 - 1], then return 0. Ex......