Wenhe QiUse toCharArray() WiselyWhen it comes to implement algorithms that deals with strings, I often use two methods in Java String class: charAt() and toCharArray().Mar 12, 20212Mar 12, 20212
Wenhe QiLeetCode Explained: 12. Integer to RomanIn this question, we are asked to write a routine to convert an Arabic integer number (I’ll use number to save some typing) into Roman…Mar 10, 2021Mar 10, 2021
Wenhe QiLeetCode Explained: 1 Two SumIn this question, we are given an array of integer nums and an integer target, and we are asked to return two distinct indices such that…Feb 4, 2021Feb 4, 2021
Wenhe QiHow to Use ACME DNS Challenge in Amazon Route 53 to Get a Free SSL CertificateWhen using UnoSSL to issue a free SSL certificate for my website, it asked me to verify my ownership of the domain first.Jan 14, 2021Jan 14, 2021
Wenhe QiUnderstanding var, let and const with ExamplesVar, let and const scope, redeclaration, hoisting, etc. explained and compared with examples.Aug 14, 2020Aug 14, 2020
Wenhe QiRoute API Gateway API to a Custom Domain Name Using Route53Apply for an SSL certificate, import to ACM, create a custom domain name in API Gateway, create an A record in Route53. Boom!Aug 3, 2020Aug 3, 2020
Wenhe QiDeploy Multi-page Gatsby Site to Lambda FunctionDeploy a multi-page Gatsby app to Amazon Lambda (no Amplify) and solve the page 404 Not Found routing issue.Jul 28, 2020Jul 28, 2020
Wenhe QiHow to Serve Your Front-end Web Pages and Back-end APIs Using the Same URLI’m currently working on an API website that provides users with APIs to retrieve movie information in JSON format. The very first…Jul 24, 2020Jul 24, 2020
Wenhe QiDynamoDB 101 — Connect to DynamoDB in Lambda functionConnecting to DynamoDB from Lambda is even easier than you can think of.Jul 23, 2020Jul 23, 2020
Wenhe QiDynamoDB 101 — Allow Access to a Specific TableBy default AWS managed policies like AmazonDynamoDBFullAccess and AmazonDynamoDBReadOnlyAccess allow corresponding rules to all tables in…Jul 22, 2020Jul 22, 2020