Gulshan Kumarperfinsights.hashnode.dev·Apr 21, 2024Remove K DigitsGiven string num representing a non-negative integer num, and an integer k, return the smallest possible integer after removing k digits from num. LeetCode Problem - 402 import java.util.*; class Solution { public String removeKdigits(String num...DiscussJava SolutionJava
Diego Barrancodiagram.hashnode.dev·Apr 19, 2024Rust with diagrams: Ownership 4 - Stack-Only data: CopyBefore delve deeper into how data interacts in memory with stack-only, you should know about Rust's memory apporach and i recommend read Data interaction with Move and Data interaction with Clone. STACK-ONLY DATA: COPY In the "Rust's memory approach"...DiscussRust
Diego Barrancodiagram.hashnode.dev·Apr 16, 2024Rust with diagrams: Ownership 1 - Rust's memory approachBefore understanding Ownership, we should know about Rust's memory approach. Memory: STACK & HEAP Rust has two different ways to handle data in memory: Stack: better performance, first in first out, size and type is known in compile time, fixed size....DiscussRust
Aditya Dubeyadityadubey.hashnode.dev·Apr 14, 2024Stack Frames in Python: Accessing the frame object using decoratorIntroduction Understanding memory management is crucial for writing efficient and error-free code in any programming language. In Python, a language known for its simplicity and readability, memory management plays a vital role in the execution of pr...Discuss·20 likes·51 readsframe stack
KnightArmourkightwrites.hashnode.dev·Apr 10, 2024Introduction to My Tech StackIntroduction Hello, fellow tech enthusiasts! Welcome to my blog, where I'll be sharing my experiences and insights into the world of technology. In this first post, I want to introduce myself and provide you with an overview of my tech stack – the se...Discuss·11 likestechnology
Gaurav Goswamigauravgoswami.hashnode.dev·Apr 5, 2024Memory Management In JavaScriptManaging memory manually like we do in C and in some other languages is really painful but in JavaScript we don't have to do that manually that's why JavaScript is a garbage-collected language. In C we can use functions like malloc, free, calloc and ...Discuss·59 readsJavaScript
Himanshu Chauhanhimanshuchauhan.hashnode.dev·Mar 31, 2024Day 45: Stack implementation using PythonWelcome to the forty-fifth day of our Python learning series! In today's blog, we'll delve into implementing a stack data structure. Stack A stack is a fundamental data structure in computer science that follows the Last-In-First-Out (LIFO) principle...DiscussPython Python
Mahira Technology Private LimitedPromahiratechnology.hashnode.dev·Mar 28, 2024Navigating the Complexities of AWS CloudFormation for WAF WebACL: A Beginner’s BlueprintIntroduction :- AWS CloudFormation is a powerful tool for managing and deploying AWS infrastructure as code. In this #CloudFormation template, we’ve focused on creating a #Web Application Firewall (WAF) WebACL for the Wave App. A WebACL is essential ...DiscussAWS
Kehanketechy.com·Mar 25, 2024Data Structures - StackA stack is a linear data structure that follows the Last In, First Out (LIFO) principle. Think of it like a stack of cups in a cafeteria, where the last cup placed on top is the first to be taken off. Let's see how we can implement a stack in Python....Discuss·46 readsdata structures
Gulshan Kumarperfinsights.hashnode.dev·Mar 20, 2024Valid ParenthesesGiven a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. Open brackets must be closed in the cor...DiscussJava Solutionstring