排序
Data Structures: Creating Custom Node Classes
Data Structures: Creating Custom Node Classes,As a developer, mastering data structures is a crucial skill that can unlock your problem-solving potential. While the standard collec...
Inverting a binary tree in Java
Inverting a binary tree in Java,Recently, I started to practice some LeetCode exercises to improve my algorithm/data structure skills. I can say that the platform provides a good e...
Valid Parentheses | LeetCode | Java
Valid Parentheses | LeetCode | Java,class Solution { public boolean isValid(String s) { Stack<Character> stack = new Stack<>(); for(char ch : s.toCharArray()){ if(stack...
Search a 2D Matrix | LeetCode | Java
Search a 2D Matrix | LeetCode | Java, Algorithm: Apply Binary Search to find the row (where the potential target might be present) After find the row, apply Binary Search on that r...
Data Structures – Part 1: Everything You Need to Know About Arrays
Data Structures - Part 1: Everything You Need to Know About Arrays,This blog post part 1 of a series of blog posts on data structures. In this blog post, we will be covering the fo...
Simplificando Binary Search
Simplificando Binary Search ,Nessa série de posts que escrevo, vou falar sobre algoritmos mais utilizados para determinadas tarefas. A ideia é sempre seguir o seguinte objetivo: ...
Builder Pattern
Builder Pattern, Creational Design Patterns (7 Part Series) 1 Introduction 2 Factory Method Pattern ... 3 more parts... 3 Abstract Factory Method Pattern 4 Object Pool Pattern 5 Bu...
Linked List Tips
Linked List Tips,Linked List is a fairly popular data structure. And the tasks associated with this structure can often be found at an interview. In this article, we will break dow...
Object Pool Pattern
Object Pool Pattern, Creational Design Patterns (7 Part Series) 1 Introduction 2 Factory Method Pattern ... 3 more parts... 3 Abstract Factory Method Pattern 4 Object Pool Pattern ...
Abstract Factory Method Pattern
Abstract Factory Method Pattern, Creational Design Patterns (7 Part Series) 1 Introduction 2 Factory Method Pattern ... 3 more parts... 3 Abstract Factory Method Pattern 4 Object P...
Factory Method Pattern
Factory Method Pattern, Creational Design Patterns (7 Part Series) 1 Introduction 2 Factory Method Pattern ... 3 more parts... 3 Abstract Factory Method Pattern 4 Object Pool Patte...
Solution: Course Schedule III
Solution: Course Schedule III, Leetcode Solutions (161 Part Series) 1 Solution: Next Permutation 2 Solution: Trim a Binary Search Tree ... 157 more parts... 3 Leetcode Solutions In...