Baihu Qian 钱柏湖
  • Posts
  • Tag Index
  • Search
Navigation bar avatar
✕

    Posts

    • Learning Scala - Implicits

      Posted on October 3, 2017

      [Read More]
      Tags:
      • Scala
    • Learning Scala - Flow Control

      Posted on September 20, 2017

      Scala’s flow control is more advanced than Java. [Read More]
      Tags:
      • Scala
    • Learning Scala - Packges and Import

      Posted on September 13, 2017

      Like Java, Scala uses packages provide namespace management, and import provides a shorter alias. [Read More]
      Tags:
      • Scala
    • Learning Scala - Functions

      Posted on August 1, 2017

      [Read More]
      Tags:
      • Scala
    • Learning Scala - String

      Posted on June 28, 2017

      Scala String is the Java String class. String literals are enclosed with double quotes ("). Multi-line string literals are enclosed in triple double quotes: [Read More]
      Tags:
      • Scala
    • Learning Scala - Scala Maps

      Posted on June 27, 2017

      Immutable map: val scores = Map("Alice" -> 10, "Bob" -> 3). [Read More]
      Tags:
      • Scala
    • Learning Scala - Scala Set

      Posted on June 26, 2017

      Set is a collection of distinct elements. By default sets are implemented as hash sets with hashCode method. It’s faster to find elements this way. [Read More]
      Tags:
      • Scala
    • Learning Scala - Scala Sequences

      Posted on June 25, 2017

      Scala’s Seq is an ordered sequence of values. It further breaks into two categories: IndexSeq indicates that reandom access of elements is efficient through index. By default, IndexSeq creates a Vector. LinearSeq implis that the collection can be efficiently split into head and tail. By default, LinearSeq creates a List,... [Read More]
      Tags:
      • Scala
    • Learning Scala - Scala Arrays

      Posted on June 24, 2017

      In Scala, array indices are zero-based. To index in an array, use () instead of [] in Java: [Read More]
      Tags:
      • Scala
    • Learning Scala - Scala Collection Basics

      Posted on June 23, 2017

      Scala’s collection classes begin with the Traversable and Iterable traits, and extend into the three main categories of sequences (Seq), sets (Set), and maps (Map). Sequences further branch off into indexed and linear sequences. [Read More]
      Tags:
      • Scala
    • Learning Scala - Case Classes and Pattern Matching in Scala

      Posted on March 10, 2017

      [Read More]
      Tags:
      • Scala
    • Leetcode 258: Add Digits

      Posted on February 5, 2017

      Question Question Link [Read More]
      Tags:
      • Leetcode
    • Learning Scala - Object-Oriented Programming in Scala

      Posted on January 7, 2017

      This article outlines classes, objects, and traits, and Object-Oriented Programming in Scala. [Read More]
      Tags:
      • Scala
    • Leetcode 136: Single Number

      Posted on November 7, 2016

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 235: Lowest Common Ancestor of a Binary Search Tree

      Posted on October 16, 2016

      Question [Read More]
      Tags:
      • Leetcode
    • ← Newer Posts
    • Older Posts →
    • Email me
    • GitHub
    • LinkedIn
    • Instagram

    Baihu Qian  •  2025  •  baihuqian.github.io  •  Edit page

    Powered by Beautiful Jekyll