Charles WangCheck if Two Strings are Anagrams in Typescript Without using sort()Verifying the two strings to see if they are anagrams is an elementary coding test for the tech interview. In the post, we aim to address…Jun 8Jun 8
Charles WangAll the basics we should know about PandasPandas is a powerful and popular data analysis and manipulation tool, built on top of Python. In this post, we want to talk about two data…Apr 17Apr 17
Charles WangBuild a very first tasted AI model in life just for funAs we know, there are so many models with different types existing in the market. It is not easy for us to opt for an appropriate one to…Apr 3Apr 3
Charles WangAll you need to know about looping over the List, Tuple, and Dictionary in PythonThis post will illustrate how to iterate over the List, Tuple, and Dictionary in 3 different ways.Mar 24Mar 24
Charles WangHow to do the JS-like map and reduce on an array in PythonIf you are from the front-end side. In the Javascript. we can get an updated array by using the map or reduce built-in functions, where it…Mar 22Mar 22
Charles Wang3 points we want to know about Tuples in PythonTuples are almost the same as lists. only the two differ between them.Mar 22Mar 22
Charles WangCheck if you are fashionably late/early to attend a party in Python — a tiny dessertA fashionably late indicates you arrive after at least half of the other attendees at a meeting but not the last one.Mar 22Mar 22
Charles WangA concise implementation of the condition logic of XOR in Python — a tiny dessertAn XOR logic stands for “exclusive or”. It is derived from the XOR logic gate in electronics. This type of logic could also be used in…Mar 21Mar 21
Charles WangA fast way to query the DOM element in unit tests of the React Testing LibraryAs we know, Enzyme adapter React 18 is a very unofficial adapter, we have to migrate the unit tests to being done with the React Testing…Mar 12Mar 12
Charles WangTake care of your mindset after being laid offIt has been 5 months since I was laid off. My mindset starts to get down as time goes by.Mar 11Mar 11