“A regular palindrome would be too easy, right?” — said no one ever.
Well, that’s probably a lie, but you get my point. If you’re like me & investing your time on various sites solving different coding exercises, you’ve more than likely come across the classic palindrome question where it asks you whether a string a palindrome.
In case you haven’t, no worries! …
For some reason, I am having the hardest of times understanding matrices.
It’s not my first foray in working with matrices, but it’s the way that it’s structured and the 2D nature of it that has me going in circles in my mind as I try and process how I would iterate a matrix.
And here we are — writing another blog on matrices. Hopefully, the additional writing and practice will help me (and you as well!).
A matrix, in simple terms, is an array of arrays. A matrix is a square of numbers, or a 2D matrix of numbers…
Man, I am really starting to like hash maps.
It’s a strange feeling. Just a few months ago, I could barely solve an algorithm question on my own, let alone coming up with an efficient enough solution. While I still recognize the vast gap that I need to overcome to get to where I want to get to as a software developer, it’s important to recognize these small wins in my self-development.
This feeling is no different — using a hash map repeatedly has forced my mind to consider it as an option with most algorithm questions that I’m encountering…
If you’re like me, then you understand where I’m coming from when I say that I have always dreaded assessments. Perhaps it was the anxiety, the lack of knowledge, or performing under pressure (or maybe all of it…). Either way, it was a fear that I never overcame, and still haven’t overcome to this day.
However, as I’ve gotten older, I’ve become more accepting of exams and the purpose behind them. Yes, they’re still scary and always will be, but if we view them less as, “Gotcha! …
As human beings, our minds have been trained since an early age to strive for perfection.
Scoring a 100% on an exam. Watching your favorite soccer player score the perfect goal. Admiring your favorite idol on the red carpet wearing the perfect dress. All of these perfections are celebrated & admired. We should all aim to do the same.
Or should we?
Speaking personally, I am a 32 year old Asian male living in northern Brooklyn, NY. Reflecting on my life, my past is anything but a perfect.
Born & raised in a small town called Vestal, NY in upstate…
Roman numerals are represented by seven different symbols. The following symbols and their values are as follows:
Let’s start with some simple examples. The number “3” is written as III in Roman numeral, where we add the three one’s together. The number “7” is written as VII, where we add “V”, which is 5, to II, which is 2, resulting in 5+2 = 7. The number “11” is written as XI, where we add “X”, which is 10, to I, which is 1, resulting in 10+1 = 11.
With the above examples, we have them written in a way where…
In a recent mock technical interview, I was presented with an interesting coding exercise that asked me to compare two string inputs & whether one string is a “rotated” string of the second string. The question was stated as follows:
Note that this problem is also on Leetcode (question #796). Link to the question: https://leetcode.com/problems/rotate-string/
We are given two strings,
A shift on
A consists of taking string
A and moving the leftmost character to the rightmost position. For example, if
A = 'abcde', then it will be
'bcdea' after one shift on
Welcome to the Matrix. No, not that Matrix, sadly.
As I prowl the pages of Leetcode, or in this case, binarysearch.com, I tend to shy away from inputs that I am unfamiliar with. I get scared very easily (this is not a lie!)
Matrixes are no different. Up to this point, I’ve immediately moved onto another problem if I saw a matrix as an input. However, today I was forced to stand up to my fears as my friend and I took on this problem during a pair programming session. …
I have no choice but to meander the journey of post coding bootcamp with my fellow job-seekers trying to crack into the tech industry.
Meander: To follow a winding or intricate course, as defined by the Merriam-Webster dictionary.
There’s nothing more accurate to paint the picture of life of thousands of coding bootcamp students; from our decision to change course in our careers and put our life on hold to learn new skills, to maneuvering the challenges that our bootcamps taught us, and to facing the harsh reality of life after graduation & the difficulties the market presents to land…
I recently completed my first live code challenge & was presented with this deceivingly challenging question, which asked to check whether the input string contained a balanced parentheses or not.
While I had an overall positive experience & ended up finishing (with help) in the allocated time, I still feel like it was an underwhelming performance & would be surprised if I make it to the next round. After I finished, I kept thinking about the problem & re-visiting the challenge in my head and whether I could’ve performed better.
Want to read this story later? Save it in Journal.
Uncovering the truths of Software Engineering one story at a time. Former Healthcare Administrator and proud dad of my Pomeranian, Nami. Based in Brooklyn, NY