Posts by Hector Williams

@Hector Williams

Hector Franklyn Williams

An experienced freelance software engineer from the Caribbean!!!
Joined June 2025
1.4k Points • 70 Badges • 25 Connections • 19 Followers • 31 Following

Posts by Hector Williams

Hector Williams • • in Articles • 1 min read
Problem You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security systems connected and it ...
Hector Williams • • in Articles • 1 min read
Recursion is a concept taught at University level. It is a concept many don't understand but it appears in coding challenges .For this reason, I have decided to cover it. Problem Convert a non-negative integer num to its English words representation...
Hector Williams • • in Articles • 1 min read
Problem In a special ranking system, each voter gives a rank from highest to lowest to all teams participating in the competition. The ordering of teams is decided by who received the most position-one votes. If two or more teams tie in the first po...
Hector Williams • • in Articles • 1 min read
Problem You are given an integer array arr. We split arr into some number of chunks i.e., partitions, and individually sort each chunk. After concatenating them, the result should equal the sorted array. Return the largest number of chunks we can m...
Hector Williams • • in Articles • 1 min read
Greedy algorithms are usually given in leetcode style technical interviews.They involve taking the maximum or minimum.Below is a an example of using the greedy approach to solve a problem. Problem Given an integer array nums, reorder it such that n...
Hector Williams • • in Articles • 1 min read
Problem Given the root of a binary tree, return the bottom-up level order traversal of its nodes' values. i.e., from left to right, level by level from leaf to root. Example 1: Input: root = 3,9,20,null,null,15,7 Output: 15,7,9,20,3 Example 2: In...
Hector Williams • • in Articles • 1 min read
In the last post, I discussed how recognizing patterns is important in solving coding challenges and discussed the Longest Increasing Subsequence. I shall talk about applying the basics in this problem to solve one variation of LIS. Follow me here, ...
Hector Williams • • in Articles • 1 min read
A good way to master coding challenges is to recognize patterns. A good way to recognize patterns is to understand the basics. This may involve understanding one core problem and learning to apply it. Think of it as similar to learning to crawl befo...
Posted in Java group
Hector Williams • • in Articles • 1 min read
I’ve been exploring ways to optimize data processing in Java, and one topic really stood out: when to use Java Streams instead of SQL queries. Here’s what I learned: 1️⃣ Java Streams are perfect for in-memory collections Great for filtering, mapping,...
Posted in Java group
Hector Williams • • in Articles • 1 min read
Hello, My name is Hector Williams and I am a moderator for this group.This is my first post.Feel free to message me to talk!!!...
Hector Williams • • in Articles • 3 min read
Introduction Software engineering can be a lucrative, fulfilling career. The world runs on a variety of software applications, whether desktop, mobile or web. There are a lot of university degrees, courses and boot camps that teach the concepts of c...
Hector Williams • • in Articles • 1 min read
Many engineers find leetcode problems hard and not a reflection of the actual work to do. I do have some sympathy for this view. Nonetheless, I do think that these questions can help practice and build programming skills. Due to this and the fact tha...
Hector Williams • • in Articles • 3 min read
Introduction A while back, I was given a list of books to read in order to become a world class software engineer. I have done previous reviews here. One of these books is Why Programs Fail A Guide to Systematic Debugging by Andreas Zeller. As exper...
Hector Williams • • in Articles • 2 min read
Introduction A large part of software engineering involves not only designing and creating new programs, but also working with existing codebases. Due to a number of reasons, we may need to make changes to the codebase. There are codebases where cha...
Hector Williams • • in Articles • 4 min read
Introduction A while back I was given a list of books to read in order to become a world class software engineer.One of these books was A Philosophy of Software Design by John Ousterhout. As the title implies, this book describes a way to design sof...
Hector Williams • • in Articles • 3 min read
Introduction Most backend developers eventually reach a point where they realize: learning another framework won’t meaningfully move them up to senior level. You can know Spring, Quarkus, Node, Nest, Django, whatever – and still not actually underst...
Hector Williams • • in Articles • 3 min read
Review of The Pragmatic Programmer: Lessons for Every Developer As a developer, I often look for books that go beyond syntax and frameworks—books that shape how I think about coding and problem-solving. While browsing my LinkedIn feed one day, I cam...
Hector Williams • • in Articles • 4 min read
Introduction Software is a critical part of the modern world and it needs people to design, develop, test and maintain it. Due to the nature of life, there are often turnovers on a company's payroll. Employees retire, die or leave their role for oth...
chevron_left