Wenhe Qi·Mar 12, 2021Use toCharArray() WiselyWhen it comes to implement algorithms that deals with strings, I often use two methods in Java String class: charAt() and toCharArray().A response icon2A response icon2
Wenhe Qi·Mar 10, 2021LeetCode 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…
Wenhe Qi·Feb 4, 2021LeetCode 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…
Wenhe Qi·Jan 14, 2021How 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.
Wenhe Qi·Aug 14, 2020Understanding var, let and const with ExamplesVar, let and const scope, redeclaration, hoisting, etc. explained and compared with examples.
Wenhe Qi·Aug 3, 2020Route 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!A response icon1A response icon1
Wenhe Qi·Jul 28, 2020Deploy 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.
Wenhe Qi·Jul 24, 2020How 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…
Wenhe Qi·Jul 23, 2020DynamoDB 101 — Connect to DynamoDB in Lambda functionConnecting to DynamoDB from Lambda is even easier than you can think of.
Wenhe Qi·Jul 22, 2020DynamoDB 101 — Allow Access to a Specific TableBy default AWS managed policies like AmazonDynamoDBFullAccess and AmazonDynamoDBReadOnlyAccess allow corresponding rules to all tables in…