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…

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…

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…

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…

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…

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…

Renzo Regio

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store