Open in app

Sign In

Write

Sign In

Allie Hsu
Allie Hsu

253 Followers

Home

About

Published in Coder Life

·Jan 21

Decode Ways — Leetcode 91

Difficulty: Medium; Category: Dynamic Programming — Decode Ways - LeetCode Decode Ways - A message containing letters from A-Z can be encoded into numbers using the following mapping: 'A' -> "1"…leetcode.com After reading the question, it first occurred to me that maybe I need to build a map built from letters and numbers. …

Dynamic Programming

3 min read

Decode Ways — Leetcode 91
Decode Ways — Leetcode 91
Dynamic Programming

3 min read


Published in Coder Life

·Dec 26, 2022

Find the Duplicate Number — Leetcode 287

Difficulty: Medium; Category: Matrix Find the Duplicate Number - LeetCode Find the Duplicate Number - Given an array of integers nums containing n + 1 integers where each integer is in the…leetcode.com We know all the elements in nums are positive, ranging from 1 to n (the index of them in an array would be 0 to n-1). We iterate over each element n through the array nums and mark its associated index as a negative number nums[abs(n)-1]…

Matrix

3 min read

Find the Duplicate Number — Leetcode 287
Find the Duplicate Number — Leetcode 287
Matrix

3 min read


Published in Coder Life

·Nov 27, 2022

Binary Tree Traversal — Leetcode 94, 144, 145

Difficulty: Easy; Category: Tree — There are three types of DFS traversal: > Preorder: Root, Left, Right > Inorder: Left, Root, Right > Postorder: Left, Right, Root As long as you can remember how the position of the root is placed related to these three order, you can easily solve the problems below. LeetCode 94 — Binary Tree Inorder Traversal Inorder traversal…

Binary Tree

2 min read

Binary Tree Traversal — Leetcode 94, 144, 145
Binary Tree Traversal — Leetcode 94, 144, 145
Binary Tree

2 min read


Published in Coder Life

·Nov 24, 2022

Second Minimum Node In a Binary Tree — LeetCode 671

Difficulty: Easy; Category: Tree Second Minimum Node In a Binary Tree - LeetCode Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has…leetcode.com According to the question description, this special binary tree root is with particular nodes that each node has two or zero sub-node and this node will be always smaller or equal to sub-nodes. And our aim is to find the second minimum node in this tree.

Binary Tree

2 min read

Second Minimum Node In a Binary Tree — LeetCode 671
Second Minimum Node In a Binary Tree — LeetCode 671
Binary Tree

2 min read


Published in Geek Culture

·Sep 7, 2022

Logging module in Python — Advanced

Tracking events that happen when your software runs — Continue the shared logger concept mentioned at the end of the previous article. We are going to dig into the use of multiple loggers and set its config by handlers and formatters. Loggers Loggers can be multiple, with different names. What we used in the previous article, including the basicConfig settings…

Logging

4 min read

Logging module in Python — Advanced
Logging module in Python — Advanced
Logging

4 min read


Published in Geek Culture

·Aug 31, 2022

Logging module in Python — Basic

Tracking events that happen when your software runs — When the program is executed, the current behavior of the program can be known by outputting background message, and this message is called log. During development, logs help us to track the process of the program, and check the results as well as the message when errors occur, which is…

Logging

4 min read

Logging module in Python — Basic
Logging module in Python — Basic
Logging

4 min read


Published in Geek Culture

·Jul 29, 2022

Google Software Engineer Interview Preparation

How do I prepare, the materials I use and interview tips based on my experience — Last December, I was invited to interview as a software engineer at Google. They gave me about three months to prepare, and in this article, I will share in detail how I prepared during this period, the materials I used, and interview tips based on my personal experience. If you…

Google Interview

5 min read

Google Software Engineer Interview Preparation
Google Software Engineer Interview Preparation
Google Interview

5 min read


Published in Geek Culture

·Jun 26, 2022

So I got a Software Engineer interview from Google

The interview process and what I've learned from it — Last December, a Google recruiter reached out to me via LinkedIn and shared a job that might be a good fit for me. After a few message discussions, we got on the phone and my Google interview journey began! The interview process basically has four stages: Recruiter phone interview Technical…

Google Interview

6 min read

So I got a Software Engineer interview from Google
So I got a Software Engineer interview from Google
Google Interview

6 min read


Published in Geek Culture

·May 26, 2022

TDD vs BDD - What’s The Difference

Software development process comparison — As the scale of programs increases, whether developing new functions or refactoring, optimizing existing code, etc., automated testing can be used to ensure that the existing functions of the program are not affected (the old behaviours are not changed), and it can also reduce the number of bugs during developing…

Tdd

6 min read

TDD vs BDD - What’s The Difference
TDD vs BDD - What’s The Difference
Tdd

6 min read


Published in Coder Life

·Apr 12, 2022

Kth Largest Element in a Stream — LeetCode 703

Difficulty: Easy; Category: Heap — What is Heap? Heap is a complete binary tree-based data structure. It can be divided into two types: Max-heap: the root node must be the greatest one, and all the parents are greater than their children. Min-heap: the root node must be the smallest one, and all the parents are…

Heap

2 min read

Kth Largest Element in a Stream — LeetCode 703
Kth Largest Element in a Stream — LeetCode 703
Heap

2 min read

Allie Hsu

Allie Hsu

253 Followers

A tech enthusiast who is keen to develop new skills | Contact Me: allie.chiayu.hsu@gmail.com

Following
  • Molly M

    Molly M

  • Giorgos Myrianthous

    Giorgos Myrianthous

  • Kairsten Fay

    Kairsten Fay

  • Marius Bongarts

    Marius Bongarts

  • Kay Jan Wong

    Kay Jan Wong

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech