Tags » Study » Page 2

leetcode: Happy Number

Write an algorithm to determine if a number is “happy”.

A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1. 19 more words

Study

Some new little members of my Library

“No book is really worth reading at the age of ten which is not equally – and often far more – worth reading at the age of fifty and beyond.” ― C.S. 106 more words

A.A. Milne

VCAA 2015 Examination Timetable is Out Now!

The VCE Chemistry examination is on Tuesday 10 November 2015.

  • ENGLISH & EAL: Wednesday 28 October 2015 at 9:00am
  • PSYCHOLOGY: Thursday 29 October 2015 at 9:00am…
  • 51 more words
Education

Pentagon Accidentally Sends Live Anthrax to Multiple Labs

The Pentagon acknowledged Wednesday that samples of live anthrax were unintentionally mailed to labs in nine states and South Korea, as officials had believed that the samples were dead. 118 more words

Study Shows Summer Months Spark Increase In Fatal Accidents Involving Teens

BALTIMORE (WJZ ) — Summer danger. We’re in the middle of what AAA Mid-Atlantic calls the “100 Deadliest Days…” a stretch between Memorial Day and Labor Day that sparks an increase in fatal accidents involving teenage drivers. 378 more words

Local

Research Suggests Some Women Have "Cheating Gene"

PHILADELPHIA (CBS) — New research suggests some women may have a cheating gene, making them more likely to be unfaithful.

The gene in question is called the vasopressin receptor gene. 30 more words

News

leetcode: Find Peak Element

A peak element is an element that is greater than its neighbors.

Given an input array where num[i] ≠ num, find a peak element and return its index. 69 more words

Study