
autoCorrect
Hey, let's do one more text editor themed challenge! Autocorrect is a feature commonly found…
arrayCenter
Consider an array of integers a. Let min(a)be its minimal element, and let avg(a) be its mean (The arithmetic mean (also known…
remainFib
Trong toán học, các số Fibonacci là các số thuộc dãy Fibonacci sequence như sau: 1, 1, 2,…
calculateElectricBill
Tiền điện hàng tháng ở khu vực nhà bạn đc tính theo quy luật sau:…
fromDecimal
Chuyển đổi một số n thành một base cho trước. Ví dụ Với b = 2 và n = 13, đầu ra…
timeCalculation
Cho một số nguyên s biểu thị cho số giây, đổi s sang dạng “hours:minutes:seconds”. Mỗi thành…