FrontEndCollection
FrontEndCollection copied to clipboard
Notes for Fullstack Software Engineers. Covers common data structure and algorithms, web concepts, Javascript / TypeScript, React, and more!
**Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order.** ```Javascript var topKFrequent = function(nums, k) {...
### 1. Regular function *`this` is pointing to Window* ```Javascript function fn() { console.log('This is a function'); } function fn() { console.log('This is a function' + this); } fn(); fn.call();...
### Basic Idea of Density Estimation - "Density" p(x) describes how _densely_ the samples are likely to appear around x - Basic idea in density estimation: the more data in...
### Topic: Data Models #### Levels of Abstraction Many views, single conceptual (logical) schema and physical schema. - Views describe how users see the data - Conceptual schema defines the...
1. Which of the following are the advantages of using a DBMS? (All Correct) a. Data Independence b. Data Security c. Concurrency d. Data Administration 2. At which level of...
### Knowledge Check: Relational Algebra 1 1. Given two tuple sets (A with 10 elements and B with 5 elements), what is the maximum number of tuples in the union...
HMM can be viewed as dynamic Bayesian networks - We learned that DBN can be used to model given conditional independencies. ### Discrete Markov Process **Transition prob of states** -...
### Lesson Introduction: Major Data Storage Layouts Much of the success in computer technology, has been the tremendous progress that data storage has undergone. When dealing with big data, the...
### Lesson Introduction: Major Indexing Schemes in Database Systems ### Topic: Hash-based Indexes **Hash-based indexes**, the hash function is built upon the function that we do the hasing on. For...