Week9 (May 13)

Question

Given an

m  x  n grid of characters board and a string word, return true if word exists in the grid.

The word can be constructed from letters of sequentially adjacent cells, where adjacent cells are horizontally or vertically neighboring. The same letter cell may not be used more than once.

Hand in homework before Saturday.

Roger的作業
xander的作業
Continue filling by yourself

103. Binary Tree Zigzag Level Order Traversal

Question

Given the root of a binary tree, return the zigzag level order traversal of its nodes' values. (i.e., from left to right, then right to left for the next level and alternate between).

Hand in homework before Saturday.

Roger的作業
xander的作業
Continue filling by yourself