s3-storage:
image: minio/minio:RELEASE.2021-12-20T22-07-16Z
container_name: s3-storage
ports:
- 9000:9000
- 9001:9001
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: minio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function flatNestedArrays(array: unknown[]): unknown[] { | |
let output: unknown[] = []; | |
let stack = [...array]; | |
handleFlatingNestedArrays({ stack, output }) | |
return output.reverse(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
numberOfCarryOperations(1234, 5678); //2 | |
numberOfCarryOperations(5555, 5555); //4 | |
numberOfCarryOperations(123, 456); //0 | |
function numberOfCarryOperations(a, b) { | |
const revertedArrayOfDigitOfA = pushNumberToStack(a).reverse(); | |
const revertedArrayOfDigitOfB = pushNumberToStack(b).reverse(); | |
const numberOfCaries = calculateNumberOfCarryOperations({ | |
arrayOfDigitA: revertedArrayOfDigitOfA, |
const companySchema = new Schema(
{
code: {
type: String,
index: true,
unique: true,
},
location: String;
name: String,
> db.companies.getIndexes()
[
{
"v" : 2,
"key" : {
"_id" : 1
},
"name" : "_id_",
"ns" : "project-name.companies"
const companySchema = new Schema(
{
location: String;
name: String,
}
);
const userSchema = new Schema(
{
email: {
type: String,
index: true,
unique: true,
},
name: String,
}
.
βββ package.json
βββ package-lock.json
βββ README.md
βββ src
β βββ application
β β βββ auth
β β β βββ index.ts
β β βββ graphql
src/Student.ts:16:3 - error TS18022: A method cannot be named with a private identifier.
16 #playGame() {
~~~~~~~~~
Found 1 error.
error Command failed with exit code 2.
export default class Student {
name: string;
email: string;
#phone: string;
constructor(name: string, email: string, phone: string) {
this.name = name;
this.email = email;
this.#phone = phone;
NewerOlder