Open in app

Sign In

Write

Sign In

Renzo Regio
Renzo Regio

5 Followers

Home

About

May 10, 2021

ALGORITHM

TIL 2021.05.08 Solved in: Javascript and Python QUESTION 27. Remove Element Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate extra space for another array, you must do this by modifying the input array in-place with…

2 min read

2 min read


May 10, 2021

ALGORITHM

TIL 2021.05.07 Solved in: Javascript and Python QUESTION 58. Length of Last Word Given a string s consists of some words separated by spaces, return the length of the last word in the string. If the last word does not exist, return 0. A word is a maximal substring consisting…

1 min read

1 min read


May 10, 2021

ALGORITHM

TIL 2021.05.06 Solved in: Javascript and Python QUESTION 35. Search Insert Position Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. Example 1: Input: nums =…

1 min read

1 min read


May 6, 2021

ALGORITHM

TIL 2021.05.05 Solved in: Javascript and Python QUESTION 13. Roman to Integer Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, 2 is written as…

3 min read

3 min read


May 6, 2021

ALGORITHM

TIL 2021.05.04 Solved in: Javascript and Python 9. Palindrome Number Given an integer x, return true if x is palindrome integer. An integer is a palindrome when it reads the same backward as forward. For example, 121 is palindrome while 123 is not. Example 1: Input: x = 121 Output: true Example 2: Input…

1 min read

1 min read


May 6, 2021

ALGORITHM

TIL 2021.05.03 Solved in: JavaScript and Python QUESTION 1. Two Sum Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use…

1 min read

1 min read


Mar 15, 2021

Listening for Real Time Changes in Firestore Database (Using onSnapshot Method)

Working on: Tweeter App (Twitter Clone) onSnapshot Is one of the methods that can be used on the CollectionReference Object alongside other methods such as add, get and more. Attaches a listener and listens for any operational changes on our Firestore database (in real time) — such as CRUD (Create, Read…

3 min read

Listening for Real Time Changes in Firestore Database (Using onSnapshot Method)
Listening for Real Time Changes in Firestore Database (Using onSnapshot Method)

3 min read


Mar 14, 2021

Sign in with Google or Github using Firebase (signInWithPopUp)

Working on: Tweeter (Twitter Clone App) Form: Using Firebase, we can sign in with Firebase’s signInWithPopUp() which takes an OAuth provider as a parameter. signInWithPopUp authenticates a Firebase client using pop-up based OAuth authentication flow — if successful, it returns the signed in user along with the provider’s credentials. If…

3 min read

Sign in with Google or Github using Firebase (signInWithPopUp)
Sign in with Google or Github using Firebase (signInWithPopUp)

3 min read


Mar 10, 2021

Sequelize Model Validation

TIL 2021.02.25 Day 77: Treehouse Full Stack JavaScript Techdegree As developers, we need to ensure that the data created and updated by users is reliable without irrelevant or duplicate entries. We can use Sequelize’s validation and constraint capabilities. Sequelize can run validation on a model to require specific values and…

6 min read

Sequelize Model Validation
Sequelize Model Validation

6 min read


Mar 10, 2021

Using REST API with Express

TIL 2021.02.24 Day 76: Treehouse Full Stack JavaScript Techdegree REST API INTRO RECAP: INTRO TO REST APIs Traditional Web Applications Handles both server side and client side concerns Example: Favorite Recipes Web App Click on a URL and the browser makes a request to the server and the server responds by finding the recipe…

17 min read

Using REST API with Express
Using REST API with Express

17 min read

Renzo Regio

Renzo Regio

5 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech