摘要:
GTD method rests on the idea of moving planned tasks and projects out of the mind by recording them externally and then breaking them into actionable 阅读全文
摘要:
Much of our code in real life is full of if statements that check the validity of a given input to see if a given computation should be performed. Usi 阅读全文
摘要:
How to test a service The service we want to test against: import {Injectable} from '@angular/core'; import {LoggerService} from './logger.service'; @ 阅读全文
摘要:
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] 阅读全文
摘要:
Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Input: [1,2,3,4,5,6,7] and k = 3 Output: [5,6,7,1,2,3,4] 阅读全文
摘要:
// include all the scss @import "~@angular/material/theming"; // Include non-theme styles for core. @include mat-core(); $mat-custom-primary-theme: ( 阅读全文