前端一些小知识

image

usemap in can use map property by id and name

Chapter 4

hierarchical relationship

  • In hierarchy, there is ‘is-a’ relationship.
  • Superclass is called when it is at top, the one below is called subclass.

react-native

mobx -> state management library
mobx-react-lite allows to work with hook

Linked List

Singly-Linked List

Palindrome Number

9. Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.

Reverse Integer

7. Given a 32-bit signed integer, reverse digits of an integer.

Two Sum

1. Given an array of integers, return indices of the two numbers such that they add up to a specific target.

Sort

sorted() vs. sort()

  • sort() makes change in place which return NONE, while sorted() will make copy of sorted list, which keep original list

php

to interact with database, use PDO()

fetchAll() -> give associate array, and index array
generetic objects

Security

why do we need https?

Normal http does not contain validation. In the real world, when we use online banking or any website,

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×