Rui Le GanReflections in MusicI recently attended a concert by composer and pianist Yiruma. And I realised I’ve never really attended a concert before. Listening and…1 min read·Apr 16, 2023--1--1
Rui Le GaninEvergreen CodingPermutations of a ListGiven a list, return all possible permutations of that list.1 min read·Nov 30, 2022----
Rui Le GaninEvergreen CodingFind the indices of the first and last occurrences of a target value in a sorted arrayGiven a sorted array and a target value, return indices of the first and last occurrence of the target value.2 min read·Nov 3, 2022----
Rui Le GaninEvergreen CodingCheck if a List contains a Pythagorean TripleGiven a list, check if there is a combination of elements such that a² + b² = c², where a, b, and c are different elements in the list.1 min read·Oct 29, 2022----
Rui Le GaninEvergreen CodingNumber of ways to Climb Stairs with n stepsGiven a staircase with n steps, find the number of ways to climb it if we can take either 1 step or 2 steps at a time.3 min read·Oct 28, 2022----
Rui Le GaninEvergreen CodingFind the tightest Lower and Upper bounds of a number, in a Binary Search TreeGiven an integer k, find the tightest lower bound >= k and tightest upper bound <= k in a Binary Search Tree. If either of them does not…2 min read·Oct 27, 2022----
Rui Le GaninEvergreen CodingImplementing Stack with a Max functionImplement a Stack class with push() , pop() , and max() which would return the current maximum value in the stack.2 min read·Oct 26, 2022----
Rui Le GaninEvergreen CodingCheck if an array can be made non-decreasing by modifying at most one elementWrite a function that checks if an array of integers can be made non-decreasing by modifying at most one element.3 min read·Oct 24, 2022----
Rui Le GaninEvergreen ReviewsRazer DeathAdder V2 X HyperSpeed Long-Term Review — I love it!Razer’s wireless, RGB-less DeathAdder mouse delivers top performance at an incredible value6 min read·Jun 25, 2022----
Rui Le GanThe Inexperienced TechnologistIn 1943, an American psychologist by the name Abraham Maslow developed a “Hierarchy of Needs”, classifying men’s needs into five levels…11 min read·Feb 15, 2022----