JLJaeChan Leeinjaello-world.dev路Apr 13, 2023 路 4 min readAbout Time Complexity#1 Time, Space Complexity Algorithm complexity is a measure of its performance, which can be evaluated through two metrics: time complexity and space complexity. Time complexity refers to the total number of operations used by an algorithm, while spa...00
JLJaeChan Leeinjaello-world.dev路Mar 15, 2023 路 2 min read[5kyu] Product of consecutive Fib numbersInstructions The Fibonacci numbers are the numbers in the following integer sequence (Fn): 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, ... such as F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1. Given a number, say prod (for product), w...00
JLJaeChan Leeinjaello-world.dev路Mar 15, 2023 路 3 min readHandle BigInt Data on JavaScriptError Meet Error I meet the below error when I use axios with bigint data. Why did this error appear in the console? I investigated why this error occurred. The information was found on JSON stringify #execptions. Why can't JSON.stringify serialize...00
JLJaeChan Leeinjaello-world.dev路Mar 14, 2023 路 1 min read[6kyu] Multiplication tableInstructions Your task, is to create N脳N multiplication table, of size provided in parameter. For example, when given size is 3: 1 2 3 2 4 6 3 6 9 For the given example, the return value should be: [[1,2,3],[2,4,6],[3,6,9]] My solution export func...00
JLJaeChan Leeinjaello-world.dev路Mar 14, 2023 路 5 min readMake Object Oriented Types with AxiosBefore Begining I have been struggling over the past two days to figure out the best way to write code in TypeScript while adhering to the SOLID principles. Specifically, I have been designing a class that uses Axios to communicate with a REST API. I...00