If you've ever tried to install an application on Ubuntu, you know that sometimes it can be really easy. Other times, it can be harder than listening to Hurt from Johnny Cash after getting dumped by y...
Hello, I am Joshua Hsieh, and this is the start of my tech blog.My current goals are to gain a good understanding of AI/ML and continue developing my full-stack projects. I want to document my journey...
Hello world, Devs and Freelancers!
Today marks Day 1 of my 4-week journey into legal literacy for tech professionals. I’m sharing this series not as a lawyer, but as a developer who wants to stop be...
Strings are everywhere in programming, and Rust has its own way of handling them—with a focus on safety and performance. In this guide, you’ll get a clear overview of how strings work in Rust, inc...
Thinking of using Azure to host a simple static site? You’re in the right place.In this short post, I’ll walk you through how I used Azure Blob Storage to host a static website in minutes — with...
"You can safely leave it to this person"—this is a phrase often heard in business settings. But in reality, it's not uncommon for problems to arise after a handover.I once experienced this myself wh...
Stack Memory
Definition: Stack memory is a type of memory that stores temporary data. It is used for static memory allocation, meaning the size of data is known at compile time.
Characteris...
Shallow Copy
Definition: A shallow copy creates a new object or array that has the same top-level properties as the original. However, if any properties are references to other objects, only...
Q1:- Reverse a String
Question: Write a function to reverse a string.
Ans
⛶function reverseString(str) {
return str.split('').reverse().join('');
}
console.log(reverseString('hii...