top of page

Forum Posts

Henry Zheng
Sep 11, 2022
In Introduction to Java
Hello everyone, Here is a recap of today's class, as well, for those of you who were trying to ask me something before Zoom kicked us out, feel free to send me an email if you have any unfinished questions. For recap: - Parts of a computer - Hardware vs software - Why you should learn java - How to begin coding - How to print output - What happens after you click run - Data types and variables. The slideshow that I used today can be found here: https://docs.google.com/presentation/d/1xO07ldw0qMgzAjYew4ZCoPCfkwjoTZXDOj7LxHCqybU/edit?usp=sharing The homework for this week can be found here: https://docs.google.com/forms/d/e/1FAIpQLSfau5NmWNTRqA4Bg6SarJnAdFhOyggnSBR2Q7Cph8Wzep4PAA/viewform?usp=sf_link I hope to see you all next Saturday!
0
0
25
Henry Zheng
Aug 03, 2022
In Python for ACSL
1. Leetcode - Island Perimeter a. https://leetcode.com/problems/island-perimeter/ 2. Leetcode - Image smoother a. https://leetcode.com/problems/image-smoother/ 3. Homework - ACSL Lights Out
Summer 2022 - Class 14 8/2 content media
0
0
14
Henry Zheng
Jul 31, 2022
In Python for ACSL
1. Homework review 2. Leetcode - Balanced binary tree a. https://leetcode.com/problems/balanced-binary-tree/ 3. Homework - ACSL LISP Expressions Solution-
Summer 2022 - Class 13 7/30 content media
0
0
16
Henry Zheng
Jul 27, 2022
In Python for ACSL
1. Homework review 2. Leetcode - Symmetric Tree a. https://leetcode.com/problems/symmetric-tree/ 3. Leetcode - Maximum depth of binary tree a. https://leetcode.com/problems/maximum-depth-of-binary-tree/ Homework - Finish Leetcode exercise "Maximum depth of binary tree"
Summer 2022 - Class 12 7/26 content media
0
0
12
Henry Zheng
Jul 24, 2022
In Python for ACSL
1. Homework review a. If you are more interested in Dijkstra's Algorithm, feel free to visit the following link https://www.udacity.com/blog/2021/10/implementing-dijkstras-algorithm-in-python.html b. BFS solution 2. Leetcode - Flood fill a. https://leetcode.com/problems/flood-fill/ b. Resource - https://usaco.guide/silver/flood-fill?lang=cpp c. SOLUTION 3. Leetcode - Same tree a. https://leetcode.com/problems/same-tree/ Homework - Finish Leetcode "Same tree" exercise. Solution -
Summer 2022 - Class 11 7/23 content media
0
0
10
Henry Zheng
Jul 20, 2022
In Python for ACSL
CLASS OUTLINE 1. Homework review 2. Leetcode exercise - Pascal's triangle a. https://leetcode.com/problems/pascals-triangle/ 3. Depth first search a. https://replit.com/@paracorde/PromotedScaredAddition#main.py b. More references @ https://usaco.guide/gold/bfs?lang=cpp 4. Leetcode exercise - Grids a. https://leetcode.com/problems/minimum-path-cost-in-a-grid/ Homework - Create a program to run BFS on a grid maze. BFS uses queues instead of recursion to ensure all nodes the same distance away are evaluated at the same time, so it will always give the shortest path.
0
1
17
Henry Zheng
Jul 17, 2022
In Python for ACSL
CLASS OUTLINE 1. Homework review 2. Leetcode - Linked list cycle (https://leetcode.com/problems/linked-list-cycle/) a. SOLUTION 3. ACSL Solitaire Homework - Finish ACSL Solitaire Solution:
Summer 2022 - Class 9 7/16 content media
0
1
17
Henry Zheng
Jul 13, 2022
In Python for ACSL
Welcome back from your Fourth of July break! CLASS OUTLINE 1. Leetcode exercise - Add binary a. https://leetcode.com/problems/add-binary/ 2. Leetcode exercise - Intersection of two linked lists a. https://leetcode.com/problems/intersection-of-two-linked-lists/ b. SOLUTION: 3. Leetcode exercise - Plus one a. https://leetcode.com/problems/plus-one/ HOMEWORK SOLUTION Finish Leetcode exercise - Plus one.
Summer 2022 - Class 8 7/12 content media
0
0
8
Henry Zheng
Jun 29, 2022
In Python for ACSL
LESSON PLAN 1. Leetcode - Isomorphic Strings a. https://leetcode.com/problems/isomorphic-strings/ 2. ACSL AGRAM a. https://imgur.com/a/xXgTEdr HOMEWORK Complete ACSL AGRAM. NOTE: There will be no class on Tuesday or Saturday next week (for Fourth of July). Enjoy your break!
0
1
29
Henry Zheng
Jun 26, 2022
In Python for ACSL
MATERIALS Slideshow - https://docs.google.com/presentation/d/1fAw3V3GSxoEtbarbLSc2O_uwSglsOqpPg_euwHox7w4/edit?usp=sharing LESSON PLAN 1. Homework review (Median of two sorted arrays), linked to class 4 post 2. Leetcode - Remove duplicates from sorted array a. https://leetcode.com/problems/remove-duplicates-from-sorted-array/ b. SOLUTION 3. LoL exercise - Searching for a value inside an array a. Write a program that takes in input of a list of integers and the integer n. Return the index of the first instance of n found in the list. If n is not in the list, return -1. 4. Leetcode - Binary code a. https://leetcode.com/problems/binary-search/ HOMEWORK Finish Leetcode exercise "Binary code" HOMEWORK SOLUTION
Summer 2022 - Class 6 6/25 content media
0
0
22
Henry Zheng
Jun 22, 2022
In Python for ACSL
Unfortunately, Chris suffered from a power outage and therefore has no Internet access. As a result, this session will be cancelled. Instruction will resume as per usual on Saturday @ 7PM PST. Solution for last week's homework will still be provided and attached in Class 4's post. Thank you for your cooperation and we apologize for any inconveniences caused.
0
0
22
Henry Zheng
Jun 19, 2022
In Python for ACSL
LESSON OUTLINE Slideshow: https://docs.google.com/presentation/d/1P1bemdNq2aKSnfJR05unW_NbeFSn-DE6ATrGODZUym4/edit#slide=id.p 1. Homework Review (solution on Class 3 blog post) 2. Leetcode exercise - Roman to integer a. https://leetcode.com/problems/roman-to-integer/ b. SOLUTION: 3. Leetcode exercise - Median of two sorted arrays a. https://leetcode.com/problems/median-of-two-sorted-arrays/ HOMEWORK Finish "Median of two sorted arrays" Leetcode exercise. HOMEWORK SOLUTION
Summer 2022 - Class 4 6/18 content media
0
2
68
Henry Zheng
Jun 15, 2022
In Python for ACSL
LESSON OUTLINE 1. Homework solution (attached on Class 2 post) 2. Leetcode - Merge two sorted lists a. https://leetcode.com/problems/merge-two-sorted-lists/ HOMEWORK Finish Leetcode exercise if not done in class. SOLUTION
Summer 2022 - Class 3 6/14 content media
0
1
31
Henry Zheng
Jun 12, 2022
In Python for ACSL
LESSON OUTLINE 1. Homework Review (Solutions will be in class 1 post) 2. Leetcode - Palindrome number a. https://leetcode.com/problems/palindrome-number/ 3. Leetcode - Valid parentheses a. https://leetcode.com/problems/valid-parentheses/ 4. Leetcode - Longest common prefix a. https://leetcode.com/problems/longest-common-prefix/ HOMEWORK: Finish "Longest common prefix" Leetcode exercise. HOMEWORK SOLUTION:
Summer 2022 - Class 2 6/11 content media
0
0
49
Henry Zheng
Jun 08, 2022
In Python for ACSL
Hello! Welcome to the Python for ACSL course. I am Henry, and will be this summer's TA. Chris will be this summer's instructor. We're looking forward to teaching you everything you need to know to ace this year's ACSL contests. Every week, I will post homework, as well as any lesson plan/slideshows. If you have any questions, feel free to contact me or Chris. Chris (Instructor) : chris13888@gmail.com Henry (TA) : henry.zheng.2006@gmail.com REPL.IT // LEETCODE.COM Chris and I both will be using repl.it or leetcode.com for coding future homework projects, as it is easier to share and collaborate on. If you already have an account, use your existing one. If not, we recommend signing up for it at replit.com/signup and leetcode.com/accounts/signup/. Make sure to set the coding language to Python3. LESSON PLAN Slideshow - https://docs.google.com/presentation/d/1ERXT8L6JU1b5IvCeAj9SQSAepqzb8sKkAm4cMbG-bRU/edit?usp=sharing Homework - https://leetcode.com/problems/two-sum/ Solution - https://www.code-recipe.com/post/two-sum
0
5
76

Henry Zheng

Forum Moderator
More actions
bottom of page