HTML5 Introduction,html5introduction1. HTML5 HistoryHTML4.01 –1999.12HTML5 – 2014.10– Done (8 years) In2006, WHATWG&W3C, decide to create a new version ofHTML In2008, the first draft has been published. In2012, Make sure the
Reverse Words in a String,reversewords Given an input string, reverse the string word by word.For example, Given s = “the sky is blue”, return “blue is sky the”.Update (2015-02-12): For C programmers: Try to solve it in-place in O(1)
Find Peak Element,findpeakelement A peak element is an element that is greater than its neighbors.Given an input array where num[i] ≠ num[i+1], find a peak element and return its index.The array may contain multiple peaks, in that case return
[LeetCode] Number of 1 Bits,leetcodebits Write a function that takes an unsigned integer and returns the number of ’1’ bits it has (also known as the Hamming weight).For example, the 32-bit integer ’11’ has binary representation 00000000000000
C++ overloading contructor,overloading// overloading class constructors#include <iostream>using namespace std;class Rectangle { int width, height; public: Rectangle (); Rectangle (int,int); int area (void) {return (