Nov. 2, 2017
Plan to read more on quora.com, the user Drew Eckhardt's profile is here.
From January 2015, she started to practice leetcode questions; she trains herself to stay focus, develops "muscle" memory when she practices those questions one by one. 2015年初, Julia开始参与做Leetcode, 开通自己第一个博客. 刷Leet code的题目, 她看了很多的代码, 每个人那学一点, 也开通Github, 发表自己的代码, 尝试写自己的一些体会. She learns from her favorite sports – tennis, 10,000 serves practice builds up good memory for a great serve. Just keep going. Hard work beats talent when talent fails to work hard.
Thursday, November 2, 2017
Wednesday, November 1, 2017
Role model on hackerrank
Nov. 1, 2017
It is a small world these days, I know that every 6 people can get you connect to any one in the world assuming that you only reach out the person you know.
Today I went over the leadboard of hackerrank woman codesprint, and then I saw one of players and was so amazed about the player's hard work.
The player completed more than 100 algorithm practice on project Euler less than one month.
Introduction
Today I went over the leadboard of hackerrank woman codesprint, and then I saw one of players and was so amazed about the player's hard work.
The player completed more than 100 algorithm practice on project Euler less than one month.
Leetcode: binary search tree inorder successor
Nov. 1, 2017
It took the peer 60 minutes to write a solution to find binary search tree inorder successor on Oct. 31, 2017. One time the peer asked me who I am, are you a teacher? I must be very patient and be very supportive.
In fact, I understood that I failed at least 30% of algorithm in the first round of mock interview starting this March. So it is very easy for me to relate to my performance, I am in trouble, and have some difficult time to solve the algorithm.
Plan to study the binary search tree inorder successor algorithm. Read as many discussion as possible, here is the Leetcode discussion link.
Introduction
It took the peer 60 minutes to write a solution to find binary search tree inorder successor on Oct. 31, 2017. One time the peer asked me who I am, are you a teacher? I must be very patient and be very supportive.
In fact, I understood that I failed at least 30% of algorithm in the first round of mock interview starting this March. So it is very easy for me to relate to my performance, I am in trouble, and have some difficult time to solve the algorithm.
Algorithm study
Plan to study the binary search tree inorder successor algorithm. Read as many discussion as possible, here is the Leetcode discussion link.
Common bugs for wrong answer
Oct. 31, 2017
It is so time consuming to find the bug in my code, and then after almost over 5 minutes, I decided to use Console.WriteLine to help, because I gave up whiteboard testing. The peer insisted that the test case of platform is working, and then I found out that I should add a statement to break the for loop.
Here is my C# code.
I spent over 5 minutes to do whiteboard testing, but I could not find the bug. The line 38 break statement is missing. Need to break the for loop.
Need to work on whiteboard testing. If the result is wrong, then I need to figure out the reason without using debug statement.
Plan to do some research about wrong answer bugs.
The feedback is that "only test 2-3 times".
Introduction
It is so time consuming to find the bug in my code, and then after almost over 5 minutes, I decided to use Console.WriteLine to help, because I gave up whiteboard testing. The peer insisted that the test case of platform is working, and then I found out that I should add a statement to break the for loop.
Code review
Here is my C# code.
I spent over 5 minutes to do whiteboard testing, but I could not find the bug. The line 38 break statement is missing. Need to break the for loop.
Actionable Item
Need to work on whiteboard testing. If the result is wrong, then I need to figure out the reason without using debug statement.
Plan to do some research about wrong answer bugs.
The feedback is that "only test 2-3 times".
Play by play: html, css, and JavaScript with Lea Verou
Oct. 31, 2017
It is the time to catch up some learning of JavaScript through pluralsight.com. I chose to study the course today, I spent one hour to go over the course, here is Lea Verou wiki page.
First I spent around 2 hours to study code review of JavaScript, the learning of JavaScript was kind of slow and not efficient, so I decided to choose an advanced course to study through pluralsight.com. I chose the course Play by play: html, css, and JavaScript with Lea Verou.
Book To Read
CSS Secrets
Nov. 1, 2017
Continue to watch the video, HTML Game View
Accessibility and Styling.
Introduction
It is the time to catch up some learning of JavaScript through pluralsight.com. I chose to study the course today, I spent one hour to go over the course, here is Lea Verou wiki page.
First I spent around 2 hours to study code review of JavaScript, the learning of JavaScript was kind of slow and not efficient, so I decided to choose an advanced course to study through pluralsight.com. I chose the course Play by play: html, css, and JavaScript with Lea Verou.
Course Study
Book To Read
CSS Secrets
Nov. 1, 2017
Continue to watch the video, HTML Game View
Accessibility and Styling.
2017 year end JavaScript code review
Oct. 31, 2017
It is the time to review what I have completed in 2017. I like to go over JavaScript and see if I can boost my JavaScript skills in the last two months of year. I chose to study 2 hours code review conducted by BlindMan67.
Introduction
It is the time to review what I have completed in 2017. I like to go over JavaScript and see if I can boost my JavaScript skills in the last two months of year. I chose to study 2 hours code review conducted by BlindMan67.
Code review
Sunday, October 29, 2017
Leetcode 238: Product of Array Except Self
Oct. 29, 2017
It is over 30 minutes to write the algorithm based on the idea using dynamic programming. By going through the whiteboard testing, it took me two steps to come out the code passing all testing cases. First I wrote code to make sure that the value was correct, and then I change the code based on TED principle.
C# code is here.
I wrote two blogs about the algorithm, the first one is written in March 21, 2016. . The second one is here written in July 24, 2015.
Introduction
It is over 30 minutes to write the algorithm based on the idea using dynamic programming. By going through the whiteboard testing, it took me two steps to come out the code passing all testing cases. First I wrote code to make sure that the value was correct, and then I change the code based on TED principle.
Code study
C# code is here.
I wrote two blogs about the algorithm, the first one is written in March 21, 2016. . The second one is here written in July 24, 2015.
Women's codeSprint 4: Afraid of the dark - after the contest
Oct. 29, 2017
It is time to study the algorithm after the contest. I like to study the editorial note for the algorithm - afraid of the dark. It is an algorithm using BFS, DFS, union-find, greedy algorithm. Time complexity can be O(n).
I felt that I have to start all over again, I could not perform the contest in less than 10 hours, I have to dedicate long hours in order to perform in the contest. How can I dedicate so many hours for a contest? How can I motivate myself to stay focus on problem solving?
The problem I have is that I solve more complicated problem than I should. Based on past experience on contest, the solution should be very simple and no complicated code for the contest, specially for medium level algorithm.
It is a good idea to take 30 minutes at least every day to go over all the algorithms in Women codesprint #4, spend time to write code for each algorithm.
Plan to write C# code for the algorithm.
Introduction
It is time to study the algorithm after the contest. I like to study the editorial note for the algorithm - afraid of the dark. It is an algorithm using BFS, DFS, union-find, greedy algorithm. Time complexity can be O(n).
I felt that I have to start all over again, I could not perform the contest in less than 10 hours, I have to dedicate long hours in order to perform in the contest. How can I dedicate so many hours for a contest? How can I motivate myself to stay focus on problem solving?
The problem I have is that I solve more complicated problem than I should. Based on past experience on contest, the solution should be very simple and no complicated code for the contest, specially for medium level algorithm.
Actionable Item
Plan to write C# code for the algorithm.
Woman codesprint 4: Extra Sweet - after contest
Oct. 29, 2017
It is time to look into the answer of extra sweet. I started to review editorial notes, look into the leaderboard, and also study test cases. I found the code to study, here is the Java code.
As a programmer, it is very important to be able to understand the algorithm in small detail. For some reason, I miss the important clue to solve the problem.
I spent time to look into the code and then finally I understood the idea by studying one of Java submission. Here is the Java code.
Starting from 7:10 am, now it is 8:20 pm, I never had such great time to study those code submissions and concentrated the problem solving.
Here is the design to study through the above Java code:
In the contest, I tried to set up the double linked list, and I like to set up 0's next points to 6, and 6's previous link to 0. Compared to the study code, no array is need. Just set up a map to add 1 as key, 6 as value, and then 5 as key and 0 as its value.
Introduction
It is time to look into the answer of extra sweet. I started to review editorial notes, look into the leaderboard, and also study test cases. I found the code to study, here is the Java code.
Code study
As a programmer, it is very important to be able to understand the algorithm in small detail. For some reason, I miss the important clue to solve the problem.
I spent time to look into the code and then finally I understood the idea by studying one of Java submission. Here is the Java code.
Starting from 7:10 am, now it is 8:20 pm, I never had such great time to study those code submissions and concentrated the problem solving.
Here is the design to study through the above Java code:
In the contest, I tried to set up the double linked list, and I like to set up 0's next points to 6, and 6's previous link to 0. Compared to the study code, no array is need. Just set up a map to add 1 as key, 6 as value, and then 5 as key and 0 as its value.
Saturday, October 28, 2017
Women's codesprint 4: Afraid of the Dark
Oct. 28, 2017
Now it is 11:19 PM, only 10 hours left for the contest. I only score 19 points, I need to start to work on second medium algorithm called Afraid of the Dark.
It is too late to write code for the algorithm. Now it is 1:51 am. I reviewed the graph algorithm through my coding blog, one popular algorithm is called union find algorithm.
It is not difficult to figure out the solution. We can form the disjoint sets, and then each node belongs to one of set. For set with even number of off light bulbs, the number of visited node is the size of disjoint set. For set with odd number of off light bulbs, each room with off light bulb will have a minimum distance to the leaf node.
Plan to write code after the contest.
It is time for me to review my practice. I felt less engaged to the hackerrank contest, I prefer to read some material on quora.com, but I will be better off to write code and try to push myself to solve algorithm problems.
I do not need to consume so many question/ answers on quora.com. Please limit time to read on quora.com as well.
Introduction
Now it is 11:19 PM, only 10 hours left for the contest. I only score 19 points, I need to start to work on second medium algorithm called Afraid of the Dark.
It is too late to write code for the algorithm. Now it is 1:51 am. I reviewed the graph algorithm through my coding blog, one popular algorithm is called union find algorithm.
It is not difficult to figure out the solution. We can form the disjoint sets, and then each node belongs to one of set. For set with even number of off light bulbs, the number of visited node is the size of disjoint set. For set with odd number of off light bulbs, each room with off light bulb will have a minimum distance to the leaf node.
Algorithm coding
Plan to write code after the contest.
Actionable Item
It is time for me to review my practice. I felt less engaged to the hackerrank contest, I prefer to read some material on quora.com, but I will be better off to write code and try to push myself to solve algorithm problems.
I do not need to consume so many question/ answers on quora.com. Please limit time to read on quora.com as well.
Women's CodeSprint 4: Extra Sweet
Oct. 28, 2017
It is time to work on the algorithm called "Extra Sweet". I tried to enjoy the problem solving but after a few hours I only scored 4 out of 30 points on this medium algorithm.
Now it is 11:11 PM, Oct. 28, 2017. I need to move on next medium algorithm.
Oct. 29, 2017 8:26 PM
After the contest, I did study editorial notes, and also go over some code submissions.
Here is the code I wrote in the contest, I tried to set up linked list to double link two nodes.
Nov. 1, 2017
It is hard to figure out what was wrong with my research in the contest. I did try to figure out the issue, I made 4 submissions.
Extra sweet
First submission - the issue found and then I started to work on, mix the setup of linkedlist with the calculation of extra sweet.
Second submission - set node's left neighbor to the first node with value 0.
Third submission - set line 89 - point to the next point to the dummy node nodes[n] with index value 0.
Introduction
It is time to work on the algorithm called "Extra Sweet". I tried to enjoy the problem solving but after a few hours I only scored 4 out of 30 points on this medium algorithm.
Progress report
Now it is 11:11 PM, Oct. 28, 2017. I need to move on next medium algorithm.
Follow up
Oct. 29, 2017 8:26 PM
After the contest, I did study editorial notes, and also go over some code submissions.
Here is the code I wrote in the contest, I tried to set up linked list to double link two nodes.
Nov. 1, 2017
It is hard to figure out what was wrong with my research in the contest. I did try to figure out the issue, I made 4 submissions.
Extra sweet
First submission - the issue found and then I started to work on, mix the setup of linkedlist with the calculation of extra sweet.
Second submission - set node's left neighbor to the first node with value 0.
Third submission - set line 89 - point to the next point to the dummy node nodes[n] with index value 0.
Quora study: Dmitriv Genzel
Oct. 28, 2017
It is the interesting place to see people write so careful and with so much detail on quora.com. Usually I like to read on linkedin.com, but now it seems to me that quora.com is better place to read.
Dimitriv Genzel is the machine learning team lead of quora.com. I like to study one of his post recently. The link is here. His profile is here.
Read one more answer from quora product manager, here is the link.
Read one answer about using competitive questions to prepare for facebook interview, the link is here.
Introduction
Dimitriv Genzel is the machine learning team lead of quora.com. I like to study one of his post recently. The link is here. His profile is here.
Read one more answer from quora product manager, here is the link.
Read one answer about using competitive questions to prepare for facebook interview, the link is here.
China open quarterfinal Dimitrov
Oct. 28, 2018
I spent over a few hours to watch live China open quarter final Dimitrov against Spanish player. It is the first day of my vacation in China, October 6. I could not believe that the experience was such great one, I like to write down some notes and continue to do some research about the player.
The coach team was sit next to me in less than 2 meters, I kept hearing the coaches were calling, "Find ways", "Are you sure". This was the first time I observed how coaches involved the match actively.
I knew the coach crew by watching one of practice video of Dimitrov before. Here is the link called Pushing the limits with dimitrov part one, 5 minutes video. Here is the link of part II, 2 minutes video.
Introduction
I spent over a few hours to watch live China open quarter final Dimitrov against Spanish player. It is the first day of my vacation in China, October 6. I could not believe that the experience was such great one, I like to write down some notes and continue to do some research about the player.
The coach team was sit next to me in less than 2 meters, I kept hearing the coaches were calling, "Find ways", "Are you sure". This was the first time I observed how coaches involved the match actively.
I knew the coach crew by watching one of practice video of Dimitrov before. Here is the link called Pushing the limits with dimitrov part one, 5 minutes video. Here is the link of part II, 2 minutes video.
Air canada shanghai to vancouver flight
Oct. 28, 2017
It is such a pleasant flight that I like to write a short eulogy for the trip. I traveled with Air Canada Oct. 20 from Shanghai to Vancouver.
Introduction
It is such a pleasant flight that I like to write a short eulogy for the trip. I traveled with Air Canada Oct. 20 from Shanghai to Vancouver.
Find the smallest substring that contains some given subset of characters
Oct. 28, 2017
It is a long journey for me to come out the solution to pass all test cases. I did at least 4 or 5 time last 6 months to work on the algorithm called "Find the smallest substring that contains some given subset of characters". I posted the question on code review, link is here in Sept. 2017.
Today I had chance to interview a peer using the algorithm, I only can hear the voice no video, but I understood how tough the algorithm can be, specially for the first time player. The peer does not work on the algorithm before, and I worked with him near 50 minutes on the algorithm. First 20 - 30 minutes to work on the algorithm itself, I had chance to follow what he approached the problem. Next 20 minutes I asked him to write code so I can evaluate his coding skills and coding style.
The mock interview is such a nice place to meet people and figure out together how to improve technical skills. The conversation is interesting and also very gentle on the topics. I have to let the peer approaches the problem first, and then give some hint, and see how discussion can continue.
The peer is very diplomatic so I know that he must be an important role in his job. First he chose to use JavaScript to code the program, so I complimented him about he must know node.js framework.
Then I noticed that he wrote down some notes to show his logic thinking, it is very clear; he asked my feedback so I know that he is also very good listener.
I found out that I always get best peer in the world, so I have to keep up with the peer about technical skills, help them to understand their strength and weakness. It is so interesting to have a mock interview.
The test cases discussed in mock interview are the following:
1. yxxz -> "yxxz"
1. xxyz ->"xxyz"-> "xyz"
2. slide window, two pointer technique
left pointer and right pointer
3. Move right pointer first, and then find a substring; and then move left pointer to make the substring smaller if possible.
For analysis, if the peer can come out the test case like the following: For example, for search string ['a','b','c'], source string "aefbcgaxy", the shortest string is "bcga", the peer has excellent analysis of algorithm, assuming that the peer does not work on the algorithm before.
It is also a great idea to review my practices:
April 2015, blog is here.
April, 2017, it is documented here.
June 29, 2017, mock practice C# code is here.
Sept., 2017, it is documented here.
Code review is here.
Oct. 31, 2017
It took me three years to fully understand the algorithm and how to work out a perfect solution. This experience taught me how to treat others, more patient please. And this is the really great algorithm to evaluate the candidate the algorithm analysis and technical strength.
Introduction
It is a long journey for me to come out the solution to pass all test cases. I did at least 4 or 5 time last 6 months to work on the algorithm called "Find the smallest substring that contains some given subset of characters". I posted the question on code review, link is here in Sept. 2017.
Today I had chance to interview a peer using the algorithm, I only can hear the voice no video, but I understood how tough the algorithm can be, specially for the first time player. The peer does not work on the algorithm before, and I worked with him near 50 minutes on the algorithm. First 20 - 30 minutes to work on the algorithm itself, I had chance to follow what he approached the problem. Next 20 minutes I asked him to write code so I can evaluate his coding skills and coding style.
The mock interview is such a nice place to meet people and figure out together how to improve technical skills. The conversation is interesting and also very gentle on the topics. I have to let the peer approaches the problem first, and then give some hint, and see how discussion can continue.
The peer is very diplomatic so I know that he must be an important role in his job. First he chose to use JavaScript to code the program, so I complimented him about he must know node.js framework.
Then I noticed that he wrote down some notes to show his logic thinking, it is very clear; he asked my feedback so I know that he is also very good listener.
Mock interview
The test cases discussed in mock interview are the following:
1. yxxz -> "yxxz"
1. xxyz ->"xxyz"-> "xyz"
2. slide window, two pointer technique
left pointer and right pointer
3. Move right pointer first, and then find a substring; and then move left pointer to make the substring smaller if possible.
For analysis, if the peer can come out the test case like the following: For example, for search string ['a','b','c'], source string "aefbcgaxy", the shortest string is "bcga", the peer has excellent analysis of algorithm, assuming that the peer does not work on the algorithm before.
Julia's practice
It is also a great idea to review my practices:
April 2015, blog is here.
April, 2017, it is documented here.
June 29, 2017, mock practice C# code is here.
Sept., 2017, it is documented here.
Code review is here.
Oct. 31, 2017
It took me three years to fully understand the algorithm and how to work out a perfect solution. This experience taught me how to treat others, more patient please. And this is the really great algorithm to evaluate the candidate the algorithm analysis and technical strength.
Friday, October 27, 2017
Code review "LINQ and string.Split do it yourself practice" (II)
Oct. 27, 2017
It is the first time I understand that the technical strength can only be trained by dedicated practice. Today I had chance to walk through those five lines of C# code, and explained to the peer how to apply those things in C++ code.
Will come back to document more about the experience as an interviewer. My last blog about the code review is here less than one month ago.
The peer likes to write C++ but the complexity of code is beyond his expectation. 30 minutes is too short to come out the workable solution.
Here is the C# code written by code review on stackexchange.com:
Each step in the above C# code can be a small function written in C++ if the peer does not know the regular expression, or similar LINQ method. 3 or 4 years job experience does not help to train yourself to be a good C++ programmer. You need to train carefully.
Plan to do some research about post vacation syndrome. I need to get out of relationships from the family back in China, less frequent using wechat to communicate family in China anymore, and get back to my normal work day in the city of Vancouver. One thing I choose to do after I overcome jet lag is to practice mock interview every day 10:00 PM. Need to meet new people and learn more about the industry and people.
Give myself a pat on my shoulder. Show my report of first mock interview after a month break.
Introduction
It is the first time I understand that the technical strength can only be trained by dedicated practice. Today I had chance to walk through those five lines of C# code, and explained to the peer how to apply those things in C++ code.
Will come back to document more about the experience as an interviewer. My last blog about the code review is here less than one month ago.
Algorithm talk
The peer likes to write C++ but the complexity of code is beyond his expectation. 30 minutes is too short to come out the workable solution.
Here is the C# code written by code review on stackexchange.com:
Each step in the above C# code can be a small function written in C++ if the peer does not know the regular expression, or similar LINQ method. 3 or 4 years job experience does not help to train yourself to be a good C++ programmer. You need to train carefully.
Actionable Item
Plan to do some research about post vacation syndrome. I need to get out of relationships from the family back in China, less frequent using wechat to communicate family in China anymore, and get back to my normal work day in the city of Vancouver. One thing I choose to do after I overcome jet lag is to practice mock interview every day 10:00 PM. Need to meet new people and learn more about the industry and people.
Give myself a pat on my shoulder. Show my report of first mock interview after a month break.
Thursday, October 26, 2017
Whiteboard testing is the savior
Oct. 26, 2017
It is the best decision to practice mock interview starting from today. As usual, I choose to practice 10:00 PM since it is too late to work and usually I am so tired, usually I have difficult time to think clearly after long day, I like to drill myself to simulate tough situation at work. My last practice is Sept. 27, 2017. Since I took a vacation from Oct. 5 to Oct. 20, I did not practice mock interview at all.
Today I spent first 15 minutes to write code, and then I relied on my techniques using Terse, Express the intent, Do one thing (TED) principle, and then I made the change to look ahead to determine if it is ready to compare (line 33: readyToCompare), I passed all test cases in the 35th minute.
In summary, the algorithm I had to write is a linear scan algorithm, instead of looking ahead to determine if it is the last row in the current time stamp, first 25 minutes I worked on the idea to look backward to compare to previous time. Once I play with whiteboard testing, I figure out the solution 100% correctly.
C# code is here. Plan to highlight a few changes I made.
Line 29 - comment out line 29, the peer reminded me no need to use startNewTime, previousTimeStamp
Line 40 - max = sum; // the peer reminded me that sum is the new max value.
Usually linear scan algorithm I should aim at 10 minutes to perform.
Introduction
Today I spent first 15 minutes to write code, and then I relied on my techniques using Terse, Express the intent, Do one thing (TED) principle, and then I made the change to look ahead to determine if it is ready to compare (line 33: readyToCompare), I passed all test cases in the 35th minute.
In summary, the algorithm I had to write is a linear scan algorithm, instead of looking ahead to determine if it is the last row in the current time stamp, first 25 minutes I worked on the idea to look backward to compare to previous time. Once I play with whiteboard testing, I figure out the solution 100% correctly.
Code review
C# code is here. Plan to highlight a few changes I made.
Line 29 - comment out line 29, the peer reminded me no need to use startNewTime, previousTimeStamp
Line 40 - max = sum; // the peer reminded me that sum is the new max value.
Actionable Item
Usually linear scan algorithm I should aim at 10 minutes to perform.
What are top 10 lessons to write a coding blog?
What are the top 10 lessons to write a coding blog?
I like to introduce
myself first. I started to write a coding blog from January 2015 just after I
failed an algorithm interview in the city of Vancouver, Canada. As usual, I felt disappointed to myself, but
this time I decided to write down my journey. I set up a goal too high for me
to reach it. If I cannot be a top player, maybe I should at least try to be the
coach for top players one day. Write down my struggle and failure, make it
valuable to others.
As a first time
blogger, a coding blog blogger, the first 6 months to 12 months, I was afraid
to write down my thoughts as well, and I do not have a lot of ideas to write. But
I start to learn how to organize a blog, how to design a blog, how to write in 5
minutes and have a good blog to entertain myself every time I feel down. After
24 months, I have written more than 1000 blogs.
There are millions
programmer jobs these days. But do you find that it is hard for you and me to
get a desirable job and advance your career successfully? Is it difficult to
find a popular name to relate to good and real story about hard work as a
software programmer.
In terms of coding
blog, do we have a good brand household brand everyone can relate to? Just be
brave, dare to be number one, you should start to write your own coding blog
starting today. You may be the one who inspire million programmers.
How about a two
year old coding blog called Julia coding blog? That is my coding blog: http://juliachencoding.blogspot.ca/.
Top 10 lessons for a coding blog
1. Coding blog can be very short. Do one thing a time. Work on one algorithm a time. I used to write a blog to review over thirty computer algorithms, it is hard to organize so many algorithms in one blog.
2. Write down your coding practice. Stay focus on coding practice. Write down how you feel, do not make it like a textbook, or journal paper, or a conference paper. Include some statistics to help track progress later on.
3. Be creative. It is your time, you are the author. Think more about serving yourself very well. How can you learn from a coding blog? You are teaching data structure and algorithm for the future yourself.
7. Have some humor. Every time I like to write down something, I notice that I need to practice coding first, or play a contest on HackerRank, or set up a mock interview. No matter how busy I am, I have to find time to write code. Sometimes, it is embarrassing because the ranking of contest, the poor performance I have on the last contest.
8. Set up a high goal is always a good practice. Learn to be a coach.
I do have a nephew who just graduated from computer science bachelor degree one year ago. I like to coach him one day to be a top programmer. I need to prepare early, I am more motivated to work for my coding blog.
I do have a nephew who just graduated from computer science bachelor degree one year ago. I like to coach him one day to be a top programmer. I need to prepare early, I am more motivated to work for my coding blog.
. Discipline yourself. I often try to choose a topic for my blog to make it more outstanding. Once a while, I will choose a bible verse as my blog title. I like to write something with facts, arguments, and also something inspiration. Avoid risky topic to bring controversy.
5. Make it casual. I also wrote some blogs about tennis sports, top 10 success rules, and other research I do daily.
6. Read a lot of your own blogs, and rewrite. I got complaints from my friends about grammar errors etc., instead I learn to write and use a new word in each blog, improve and expand my vocabulary.
More about coding blog
Let me explain how I manage my coding blog as a designer, product manager, a thinker and also a code writer and a Hackerrank contest player.
Coding blog is more controllable
1 Write a
lot, produce a lot of content. I pursuit a lot of goals but failed to achieve,
things are not under my control. But a coding blog published using Google
blogger, it is very easy to start and manage these days.
Blog
is my product, and I am the product manager of my blog, also I need to do marketing
and invest a lot of time to the coding blog product.
Sports training
2 The
past 24 months, I played a lot of tennis sports. I train myself to follow
professional tennis player, and use the sports to train myself. I like to train
myself in a few areas, sports techniques, new school of entertainment, mental
toughness, and how coach educate young players, drills of sports, tournaments,
rankings. I need a place for me as a sports fan to document the journey as
well, share my stories.
Long term work
3 Learn
how to get more organized and stay connected to my past work experience. I like
to write down my thoughts so that I can analyze my thought process later,
sometimes an advanced algorithm and data structure takes months and years to
master, like union find, regular expression algorithm, dynamic programming.
Easy to access
4 It is
easy for me to write a blog compared to get connected to a person through
meetup or other activities. Also I like
to demonstrate how good a person can be to work on a project. How hard it is to
work on a goal, like solving an algorithm problem, how many submissions to
succeed to solve a problem on Hackerrank.
Writing Principles
5 I do
not have a mentor to help me to write blogs. I need to find out the principles
to help me to write, and also help me to think clearly and logically.
6 I have a lot of bad habits to get rid of, like impulse shopping, peer pressure, unhealthy diet, and lack of sports training, competitive sports training. One solution is to build a new good habit, write a good coding blog every day.
Bad habits
6 I have a lot of bad habits to get rid of, like impulse shopping, peer pressure, unhealthy diet, and lack of sports training, competitive sports training. One solution is to build a new good habit, write a good coding blog every day.
7 I
worked on my computer science Ph.D. program from 2001 to 2011, but those 10
years I did not build a good habit to write programs for data structure and
algorithms daily, research daily. Coding blog will force me to stay on the
track to work on my crafting skills, a good thinker of algorithm and data
structure.
Community
8 I like
to figure out how I can get more involved in the community I live, I like to be
an educator, engineer, counsellor. Coding blog is not a bad choice.
Less Democratic
9 I read
a lot of blogs, and I know that blogging is cheap and efficient way to publish.
Although it is not so popular, it is safe and sandbox to get more experience
without worrying about down votes.
What are top 10 questions to ask yourself as a software programmer?
Oct. 26, 2017
Plan to write a blog and answer the question on quora.com. The question is "What are top 10 questions to ask yourself as a software programmer?". The link is here.
Oct. 27, 2017
It is the fact that I stay at current job over 7 years. Last 3 years, I work day and night, and try to work on data structure and algorithm, work on solving leetcode algorithms. I finally can say that I can write much more efficient code, wish that I can write a better product for the business.
I ask myself a lot of questions. Let me put down a list first and then sort out by the categories.
Can I be a product manager to manage myself?
When I document my experience through coding blog, do I demonnstrate good skills as a product manager or project manager?
Do I have more time to play hackerrank contests and win more medals?
Do I regain the passion to play hackerrank contest after I won my first gold medal?
Do I still work hard to study lead board of hackerrank contest and then try to figure out something new to learn?
Do I have freedom to rewrite the whole website using some fancy technology I learn recently?
How long should I choose to work on programming job?
When do I notice that I need constantly review what I have done and then code review, rewrite the code?
How is the review of cache design in the website?
should I continue to do some research on website cache design issue?
What percentage is to train myself coding?
When to train myself?
What to train myself?
How to bring people to my working relationships? How to form a circle?
What is my 6 month goal?
What is my 12 month goal?
How many hours to spend on pluralsight.com to learn some new tecnologies?
Plan to write a blog and answer the question on quora.com. The question is "What are top 10 questions to ask yourself as a software programmer?". The link is here.
Oct. 27, 2017
It is the fact that I stay at current job over 7 years. Last 3 years, I work day and night, and try to work on data structure and algorithm, work on solving leetcode algorithms. I finally can say that I can write much more efficient code, wish that I can write a better product for the business.
I ask myself a lot of questions. Let me put down a list first and then sort out by the categories.
New roles
Can I be a good project manager?Can I be a product manager to manage myself?
When I document my experience through coding blog, do I demonnstrate good skills as a product manager or project manager?
Hackerrank contests
Do I have more time to play hackerrank contests and win more medals?
Do I regain the passion to play hackerrank contest after I won my first gold medal?
Do I still work hard to study lead board of hackerrank contest and then try to figure out something new to learn?
Do I have freedom to rewrite the whole website using some fancy technology I learn recently?
How long should I choose to work on programming job?
When do I notice that I need constantly review what I have done and then code review, rewrite the code?
Simplify the engineering
How is the review of cache design in the website?
should I continue to do some research on website cache design issue?
Training
What percentage is to train myself coding?
When to train myself?
What to train myself?
How to bring people to my working relationships? How to form a circle?
Goals
What is my 6 month goal?
What is my 12 month goal?
How many hours to spend on pluralsight.com to learn some new tecnologies?
What are top 10 surprise to write a coding blog?
Oct. 26, 2017
Plan to write a blog and answer the question I ask on quora.com. Here is the question link.
Oct. 27, 2017
Top 10 surprise:
Most my favorite algorithm is Leetcode 10, regular expression.
Most my favorite time is to practice mock interview
Most my tough time is to try to break into an advanced algorithm on hackerrank contest
I like to write other topics as well. One day I noticed that I wrote down the topic called face paralysis.
Plan to write a blog and answer the question I ask on quora.com. Here is the question link.
Oct. 27, 2017
Top 10 surprise:
Most my favorite algorithm is Leetcode 10, regular expression.
Most my favorite time is to practice mock interview
Most my tough time is to try to break into an advanced algorithm on hackerrank contest
I like to write other topics as well. One day I noticed that I wrote down the topic called face paralysis.
Wednesday, October 25, 2017
Code review follow up
Oct. 25, 2017
Introduction
It is a good habit to read code review again and see how many things I should work on to improve my csharp code skills. Today I spent 20 minutes to review the algorithm and wrote the csharp code based on code review.
Follow up
Originally I asked the question on code review community 27 days ago, the experience is documented here called
Thanksgiving campaign No. 1
Oct. 25, 2017
Code review C# code is here. I will look into those changes later.
Actionable Items
Sorting an Array of Values Based on an Array of Keys
Oct. 25, 2017
One apple a day, keep doctor away. One program a day, also keep programmer awake. Today a small program keeps me awake to look into a few things, ...
I like to share my practice using C# 2000 things, item 136: Sorting an Array of Values Based on an Array of Keys.
Here is the C# code.
Read the code and enjoy the workout.
Introduction
I like to share my practice using C# 2000 things, item 136: Sorting an Array of Values Based on an Array of Keys.
Here is the C# code.
Read the code and enjoy the workout.
Sorting an array using an independent Comparer method
Oct. 25, 2017
One apple a day, keep doctor away. One program a day, also keep programmer awake. Today a small program keeps me awake to look into a few things, IComparer vs IComparable.
I like to share my practice using C# 2000 things, item 137: Sorting an array using an independent Comparer method.
Here is the C# code.
Read the code and enjoy the workout.
Introduction
I like to share my practice using C# 2000 things, item 137: Sorting an array using an independent Comparer method.
Here is the C# code.
Read the code and enjoy the workout.
Implementing IComparable to Allow Sorting a Custom Type
Oct. 25, 2017
One apple a day, keep doctor away. One program a day, also keep programmer awake. Today a small program keeps me awake to look into a few things, IComparer vs IComparable, throw new ArgumentExcecption on line 44.
I like to share my practice using C# 2000 things, item 135: Implement IComparable to allow sorting a custom type.
Here is the C# code.
Introduction
One apple a day, keep doctor away. One program a day, also keep programmer awake. Today a small program keeps me awake to look into a few things, IComparer vs IComparable, throw new ArgumentExcecption on line 44.
I like to share my practice using C# 2000 things, item 135: Implement IComparable to allow sorting a custom type.
Here is the C# code.
Tuesday, October 24, 2017
Hackerrank: Women's CodeSprint 4
Oct. 24, 2017
It is the time to play another codesprint this Friday. I thought about yesterday and decided to join until this Thursday, because I need to discipline myself to work on the contest. It is not an easy task because of the busy schedule.
Here is my last two contests on Hackerrank.
Introduction
Here is my last two contests on Hackerrank.
I documented the university codesprint 3 contest here. I just could not believe that after the contest, I wrote the blog to celebrate my piece of puzzle to solve NIM game. It is just another contest, and not so good performance. Surprisingly, I got some feedback through a phone call, unbelievable story in the city of Vancouver.
CodeSprint strategies
I spent extra 20 minutes to look up bible verse for my contest. Here is bible version Proverb 13:4 for my woman codesprint 4.
Statistics
The blog was written from 6:00 am to 6:20 am, Oct. 24, 2017. I just came back from China and went back to work starting from Oct. 23, 2017. I need to get rid of jet lag, I came back on Oct. 20, and this is the fourth morning with jet lag, I went to bed around 8:00 PM, and woke up around 3:00 AM, and then read wechat to 5:00 am, and got up at 5:30 am.
Leetcode: binary tree upside down (II)
Oct. 24, 2017
It only takes around 20 minutes to read a recursive solution on the panel of Leetcode discussion. I read the solution this morning around 3:00 am. Now it is 5:43 am, I got up and started to work on my computer and blog this algorithm.
Introduction
Code study
It is better for me to choose one of discussion, and check in the code, and then plan to write C# solution later.
Here is the discussion link.
Most important is to read yfcheng's analysis. Plan to spend 20 minutes to read and also review the drawings. And then I will write down my own words, and make a drawing as well.
Recursive solution in Java code:
Iterative solution in Java code:Analysis
Java code
Recursive solution in Java code:
Actionable Item
I finished the blog at 6:00 AM, only 15 minutes. Will come back to work on the algorithm based on the discussion.
Monday, October 23, 2017
What one tip changed your writing forever?
Oct. 23, 2017
Introduction
It is now 7:48 am, I finished my morning work from 5:00 am to 7:50 am, last 5 minutes I wrote an answer on quora. Here is the link: What one tip changed your writing forever?
Finally I need to take some time off and prepare for my breakfast and lunch and go to work.
Introduction
It is now 7:48 am, I finished my morning work from 5:00 am to 7:50 am, last 5 minutes I wrote an answer on quora. Here is the link: What one tip changed your writing forever?
Finally I need to take some time off and prepare for my breakfast and lunch and go to work.
IIS administration
Oct. 23, 2017
It is time for me to get back to work on Internet Information Server (IIS) administration after the vacation. I delayed the project because of my China vacation.
Plan to watch a few of Microsoft IIS administration videos first.
Introduction
It is time for me to get back to work on Internet Information Server (IIS) administration after the vacation. I delayed the project because of my China vacation.
Plan to watch a few of Microsoft IIS administration videos first.
Outco research
Oct. 23, 2017
It is Monday morning, 6:14 am. I plan to spend next 30 minutes to do research about outco through yelp. The link is here.
Word of mouth marketing is the best one and I could not pass this one. I got an invitation for a mock interview practice "upside down binary tree" last Saturday, and then at the end of practice the peer shared her experience with outco career counseling.
Plan to read all recommendations on yelp.com first.
Read this answer on quora.com, the link is here.
Think about providing career counseling service as well. Need to figure out who is the competitor, and most valuable content in the teaching material.
Introduction
It is Monday morning, 6:14 am. I plan to spend next 30 minutes to do research about outco through yelp. The link is here.
Word of mouth marketing is the best one and I could not pass this one. I got an invitation for a mock interview practice "upside down binary tree" last Saturday, and then at the end of practice the peer shared her experience with outco career counseling.
The research
Plan to read all recommendations on yelp.com first.
Read this answer on quora.com, the link is here.
Actionable Item
Think about providing career counseling service as well. Need to figure out who is the competitor, and most valuable content in the teaching material.
Good morning Vancouver!
Oct. 23, 2017
It is the first day to go back to work for MP Lighting after 2 weeks vacation. I got up around 4:30 am, and then I have chance to work on some preparation before I leave the home.
Now it is 5:06 am. Although the jet lag is hard to play with, I feel that it will be a wonderful day.
Introduction
It is the first day to go back to work for MP Lighting after 2 weeks vacation. I got up around 4:30 am, and then I have chance to work on some preparation before I leave the home.
Now it is 5:06 am. Although the jet lag is hard to play with, I feel that it will be a wonderful day.
Yichun university study
Oct. 23, 2017
I like to do some research on Yichun university, and see if I should put something into my daily routine.
I had chance to meet my high school classmate during October vacation back to China. My classmate started to work for the university starting from 2016. He got a EE ph.d. degree from USA and then he plans to work for the university for a few years. I did have chance to talk to my other classmates who are professors in the university working there over 20 years as well.
Introduction
I like to do some research on Yichun university, and see if I should put something into my daily routine.
I had chance to meet my high school classmate during October vacation back to China. My classmate started to work for the university starting from 2016. He got a EE ph.d. degree from USA and then he plans to work for the university for a few years. I did have chance to talk to my other classmates who are professors in the university working there over 20 years as well.
Sunday, October 22, 2017
Leetcode: binary tree upside down
Oct. 22, 2017
It is so nice to get a friend's help to offer me to mock interview the algorithm "binary tree upside down". I spent around 100 minutes to work on this algorithm.
Here is the C# code I wrote in the mock interview on Oct. 21, 2017 from 8:00 pm - 9: 53 pm.
Plan to read the leetcode discussion on the algorithm, the link is here.
Introduction
It is so nice to get a friend's help to offer me to mock interview the algorithm "binary tree upside down". I spent around 100 minutes to work on this algorithm.
Here is the C# code I wrote in the mock interview on Oct. 21, 2017 from 8:00 pm - 9: 53 pm.
Follow up
Plan to read the leetcode discussion on the algorithm, the link is here.
Yichun to Shanghai train trip
Oct. 22, 2017
It is less than 5 hours trip from Yichun to Shanghai. I gave myself an assignment while I experienced the travel by taking the high speed train with over 200KM/ hour. The assignment is to evaluate an algorithm lecture note: 2.2 MergeSort by Robert Sedgewick | Kevin Wayne, 5 hours is long enough for me to work on something involving some reading and also not so stressful.
Of course, I like to write a blog to document my review and then help myself to master the algorithm and also it is fun to challenge the best lecture note in the world.
One thing I noticed on the ticket is the advertisement information. How good it is for the business to thrive in current date. The advertisement is specific for me or for all the customers, interesting to read.
Before the travel back to China, I spent over one hour to study on youtube.com how to travel safely with tips, how to pack clothes and how to organize the trips.
Also based on my last year experience, I sponsored one of sisters to travel to Beijing and toured the city with me. Bible verse I used to guide me for the planning is Ecclesiasters 4:10 For if either of them falls, the one will lift up his companion. but woe to the one who falls when there is not another to lift him up.
Here is the ticket snapshot:
It was so much fun to go over lecture notes while I was travelling on the train. But now it is Oct. 22, 2017, 11:44 PM, I need to write down some review notes to help me to master the algorithm.
Page 1, five topics for merge sort, can I name all five topics:
1. mergesort
2. bottom-up mergesort
3. sorting complexity
4. comparators
5. stability
Review note: Google "bottom-up mergesort" and see if there is anything interesting on the topic.
Watch 3 minutes video here. Lecture video 23 minutes is here. Stackoverflow question is here. Quora answer is here.
Vocabulary to master:
1. Proposition
2. Proof sketch
3. Recurrence
Introduction
It is less than 5 hours trip from Yichun to Shanghai. I gave myself an assignment while I experienced the travel by taking the high speed train with over 200KM/ hour. The assignment is to evaluate an algorithm lecture note: 2.2 MergeSort by Robert Sedgewick | Kevin Wayne, 5 hours is long enough for me to work on something involving some reading and also not so stressful.
Of course, I like to write a blog to document my review and then help myself to master the algorithm and also it is fun to challenge the best lecture note in the world.
Ticket Study
One thing I noticed on the ticket is the advertisement information. How good it is for the business to thrive in current date. The advertisement is specific for me or for all the customers, interesting to read.
Before the travel back to China, I spent over one hour to study on youtube.com how to travel safely with tips, how to pack clothes and how to organize the trips.
Also based on my last year experience, I sponsored one of sisters to travel to Beijing and toured the city with me. Bible verse I used to guide me for the planning is Ecclesiasters 4:10 For if either of them falls, the one will lift up his companion. but woe to the one who falls when there is not another to lift him up.
Here is the ticket snapshot:
I am learning design principles and art of design, so it is one of my hobby to evaluate how the ticket is organized with so many information. I like to check the layout, and the fonts and then other things later.
Algorithm lecture note review
Page 1 lecture note review
Page 1, five topics for merge sort, can I name all five topics:
1. mergesort
2. bottom-up mergesort
3. sorting complexity
4. comparators
5. stability
Review note: Google "bottom-up mergesort" and see if there is anything interesting on the topic.
Watch 3 minutes video here. Lecture video 23 minutes is here. Stackoverflow question is here. Quora answer is here.
Vocabulary to master:
1. Proposition
2. Proof sketch
3. Recurrence
Saturday, October 21, 2017
Subway to Shanghai pudong airport
Oct. 21, 2017
It is a good idea to document things I did in the city of Shanghai, I have to take time to allow myself experience various public transit. One thing I did is to take public transit to Shanghai PuDong airport costing $8 Chinese Yuan compared to take a taxi over $200. From my hotel in west area of city to east side of city, it takes more 20 KM and over 100 minutes to take the subway.
Evaluate how good badiu.com make a map and direction. Highlight three things I like and the information are helpful for me to travel.
Plan to show the selfie I took when taking the subway. It was so comfortable and I was so relax.
Introduction
User experience
A few years ago, my college classmate of Shanghai Jiaotong university class 70141 shared the tip to me. It is better to travel to China in October, usually the summer is the time for parents to take their kids to travel to China for summer break. My classmate is a Ph.D. of university of California, and a principal scientist of broadcom. I took her advice and started to travel every year October starting from 2015.
I downloaded a map from baidu.com map to show how to transfer from subway line 9 to line 2 and then continue to transfer two times to Pudong airport.
Here is the offline route for the travel. I like to highlight a few things very good for first time user to use this guide, and see how good the design is.
Here is the offline route for the travel. I like to highlight a few things very good for first time user to use this guide, and see how good the design is.
Actionable Item
Evaluate how good badiu.com make a map and direction. Highlight three things I like and the information are helpful for me to travel.
Plan to show the selfie I took when taking the subway. It was so comfortable and I was so relax.
Instagram - new playground for the weekend
Oct. 21, 2017
It is the long recovery process to go over the jet lag. I had tough time to adjust the time and then I played so many videos this morning from 3:00 am to 7:00 am, one of my favorites is to go over tennis WTA/ ATP player instagram account.
It is hard for me to work with privacy of friends, family and relatives. The vacation I took from Oct. 5 to Oct. 20, I met so many people and those people help me to shape my view of Beijing, Yichun, Shanghai, and help me to relax and enjoy the vacation. I may break some privacy and post the photos I do not have permissions to share.
I will try and see who are those people to read Instagram and what to post in order to show my appreciation to those hard working people I met, and the country I love and great experience I had.
Introduction
It is hard for me to work with privacy of friends, family and relatives. The vacation I took from Oct. 5 to Oct. 20, I met so many people and those people help me to shape my view of Beijing, Yichun, Shanghai, and help me to relax and enjoy the vacation. I may break some privacy and post the photos I do not have permissions to share.
I will try and see who are those people to read Instagram and what to post in order to show my appreciation to those hard working people I met, and the country I love and great experience I had.
My playground
Plan to go over those Instagram account I follows, 99% are WTA/ ATP players. I will study how they share and write for their post first, and then accordingly, I will write 20 - 30 posts for my vacation from Oct. 5 - Oct. 20, 2017.
My instagram is here.
My instagram is here.
Friday, October 20, 2017
Leetcode: Edit Distance - 30 minutes talk
Oct. 20, 2017
It is very interesting to spend time with my relative, a 22 year old in the city of Yichun. He is a computer science graduate from top universities in 2016, and he plans to take graduate admission test for a computer science master degree at the end of 2017.
I spent a few minutes to explain the possible deletion distance between two words "heat" and "hit". The minimum deletion distance is 3, including deletion of two chars ('e' and 'a') in the word "heat" and one deletion of chars ('i') in the word "hit".
The naive deletion distance 5 can be implemented by deletion of 3 chars in "heat" from second char to last char, and deletion of chars in "hit" from second char to last char.
I used two words "abc" and "defg" and explained the deletion distance of two words. The possible choice to delete a char each time is 2, and there are 7 choices, so it is 27.
Teaching was fun even though my nephew is a rookie in algorithm and data structure, he did not ask any question and surfed wechat while I was talking. He told me to continue and I was not sure if he understood the algorithm or not.
Introduction
30 minutes talk
I am very open to the new idea. What I have to do is to continue to support my nephew for Canada sponsor application and then also help him to build a career in computer science field.
It is very good for my nephew to get some skills to help his parents to manage a restaurant. I also prefer to encourage him to get more education instead of working in industry to work for some one else.
I did spent 30 minutes to test his coding skills, and practiced my lecturing skills during my vacation, this is the second chat. He was getting better, I still had no idea how he learns and what is his learning style.
Here are my notes I wrote on a piece of paper about the algorithm. The algorithm is documented in detail here.
Highlights of talk
The naive deletion distance 5 can be implemented by deletion of 3 chars in "heat" from second char to last char, and deletion of chars in "hit" from second char to last char.
I used two words "abc" and "defg" and explained the deletion distance of two words. The possible choice to delete a char each time is 2, and there are 7 choices, so it is 27.
Actionable Item
Teaching was fun even though my nephew is a rookie in algorithm and data structure, he did not ask any question and surfed wechat while I was talking. He told me to continue and I was not sure if he understood the algorithm or not.
Research about Yichun city
Oct. 20, 2017
It is very interesting to spend time to do research on my home town, the city of Yichun during my vacation from Oct. 5 to Oct. 20, 2017. I just like to document my learning here and see if I can make some progress later on.
I have four siblings living there, 3 sisters and one brother. One of my elder sisters is a physician working for a hospital called The Third People's Hospital of Yichun, she also teaches in the university of Yichun part time, and last few years she is also a partner for a retirement living facility in the neighborhood cities and a provider of medical advise. My young sister is the lecturer of biochemistry over 20 years in the university of Yichun; My young brother and sister-in-law invested some money, and decided to take over a small business and manage to make it profitable last 24 months, a small restaurant called 宜春陆记馄饨店 starting from 2 years ago, manage to hire a few employees last 12 months.
Introduction
I have four siblings living there, 3 sisters and one brother. One of my elder sisters is a physician working for a hospital called The Third People's Hospital of Yichun, she also teaches in the university of Yichun part time, and last few years she is also a partner for a retirement living facility in the neighborhood cities and a provider of medical advise. My young sister is the lecturer of biochemistry over 20 years in the university of Yichun; My young brother and sister-in-law invested some money, and decided to take over a small business and manage to make it profitable last 24 months, a small restaurant called 宜春陆记馄饨店 starting from 2 years ago, manage to hire a few employees last 12 months.
Vacation Experinence
One favorite thing I did in vacation is to visit the restaurant and asked help for my daily activities. For example, I do not have china phone number, so I have to ask my sister-in-law to get me a rental car using 滴滴快车. Also I learn how people work hard in restaurant and experience so many things including talking to customers, ordering food, and catering friends in the restaurant.
China Open 2017 Quarter Final - Jelena Ostapenko
Oct. 20, 2017
I went back to China and spent whole day on Oct. 6 to watch China open, one match I watched is for Jelena Ostapenko to play against Sorana Cirstea, a Romania ranking 37.
My favorite memory is the picture I took in the match. The coach of Ostapenko talked to Ostapenko in the short break of the match.
Now it is the first day back to Vancouver after the vacation, it is 7:45 PM Oct. 20, 2017. I quickly looked up Ostapenko's coach and catch up more about the coach.
Here is one minute coaching video to show how the coach talked to Ostapenko. I like the coaching style.
I set a new wall paper for my cellular phone starting this Oct. 6, 2017. The picture of China open and the player Ostapenko. Actually it is the picture above I took to show the coach talking to Ostapenko in China Open. It just reminds me everyday no matter how good you are, you are always better to have a coach and get some insights.
Julia, it is better to write down 1 minute coaching from the above video:
Introduction
I went back to China and spent whole day on Oct. 6 to watch China open, one match I watched is for Jelena Ostapenko to play against Sorana Cirstea, a Romania ranking 37.
My favorite memory is the picture I took in the match. The coach of Ostapenko talked to Ostapenko in the short break of the match.
Quick catch up
Here is one minute coaching video to show how the coach talked to Ostapenko. I like the coaching style.
One minute video is here called Ostapenko and Anabel Medina Garrigues.
Here is the highlight of match - a quaterfinal match in China, I saw myself in the video to watch the game, video 4:18 - 4:20/ 5:06.Jelena Ostapenko vs Sorana Cirstea Highlights China Open 2017
Actionable Items
I set a new wall paper for my cellular phone starting this Oct. 6, 2017. The picture of China open and the player Ostapenko. Actually it is the picture above I took to show the coach talking to Ostapenko in China Open. It just reminds me everyday no matter how good you are, you are always better to have a coach and get some insights.
Julia, it is better to write down 1 minute coaching from the above video:
Ostapenko and Anabel Medina Garrigues
"The problem is that you are not serving good, 35%; You are making a lot of unforced errors, so we have to, we have to miss (?) less, try to serve better. 0:20/ 0:55, you can play, of course, 6 to 1, do not say that. Do not say that. 0:24/ 0:55 When you are running, try to close the court. Do not open to her. 0:32/ 0:55 What I am doing here, you call me. Try to complain or try to win the match. Because of that, you call me. Keep fighting, keep fighting. She is no. 6 in the world. She is not giving you the match. She will fight, you fight soon (?). And try to learn, this is good for you. "
Tuesday, October 3, 2017
Unsleep night in the city of Vancouver
Oct. 3, 2017
Introduction
I will take a flight Oct. 4 2017, in order to get rid of jet lag, I am planning sleep a few hours and then enjoy the adventure to surf the internet.
My best companion is 40 minutes video of Maria Sharapova, now it 8:27 PM. I just started second round to watch the interview, and then prepare to pack for my trip to China. The video is called Maria Sharapova on the Keys to Building Grit and Discipline.
Now it is 9:12 Pm, I am going over another 50 minutes interview with Lewis Howes, Unstoppable in Tennis. I am still packing and trying to figure out something good check list to show I am getting organized and more creative this time. The video link is here.
I have a food campaign to bring North America snacks to China, and let my relatives taste the food culture. All the snacks I bought are from Costco.
Introduction
I will take a flight Oct. 4 2017, in order to get rid of jet lag, I am planning sleep a few hours and then enjoy the adventure to surf the internet.
My best companion is 40 minutes video of Maria Sharapova, now it 8:27 PM. I just started second round to watch the interview, and then prepare to pack for my trip to China. The video is called Maria Sharapova on the Keys to Building Grit and Discipline.
Now it is 9:12 Pm, I am going over another 50 minutes interview with Lewis Howes, Unstoppable in Tennis. I am still packing and trying to figure out something good check list to show I am getting organized and more creative this time. The video link is here.
I have a food campaign to bring North America snacks to China, and let my relatives taste the food culture. All the snacks I bought are from Costco.
Count Down For a vacation
Oct. 3, 2017
I like to write a short blog about how important the vacation is good for a programmer. The talk can be considered in more than 3 ways, experience the traffic tools in modern societies; second it is to catch up mobile phone app trend; third is to get to learn how to communicate face-to-face with relatives, friends, families, art or science.
I do not take any travel using airplane since last October China trip. So my experience of international travel will be fascinated. Using Canada airline and get connected to people through the travel. I am not the lady you neighbor open a bible and read very carefully, but I met one last year travel, and I also met a young lady Ph.D. just finished post doctor study in Calgary and went back to China, she explained to me how a Ph.D. these days completes 3 -5 post doctor research before she lands a permanent teaching job. Sounds fancy? Continue.
Beijing is most developed city in China, so on the plane I definitely met some parents who are helping their kids to get education in the city of Vancouver. A little bit chat about education and family etc. It seems that I am ready for vacation.
The programmer is good at copy and paste, is this a clone of vacation. Last year I went to China, took air Canada airline, watched China Open, I do exactly same thing. I like to say that the idea is the same, but I added a few modifications.
To be continued!
Introduction
I like to write a short blog about how important the vacation is good for a programmer. The talk can be considered in more than 3 ways, experience the traffic tools in modern societies; second it is to catch up mobile phone app trend; third is to get to learn how to communicate face-to-face with relatives, friends, families, art or science.
Facts about living in Vancouver
I do not take any travel using airplane since last October China trip. So my experience of international travel will be fascinated. Using Canada airline and get connected to people through the travel. I am not the lady you neighbor open a bible and read very carefully, but I met one last year travel, and I also met a young lady Ph.D. just finished post doctor study in Calgary and went back to China, she explained to me how a Ph.D. these days completes 3 -5 post doctor research before she lands a permanent teaching job. Sounds fancy? Continue.
Beijing is most developed city in China, so on the plane I definitely met some parents who are helping their kids to get education in the city of Vancouver. A little bit chat about education and family etc. It seems that I am ready for vacation.
Is it a clone?
The programmer is good at copy and paste, is this a clone of vacation. Last year I went to China, took air Canada airline, watched China Open, I do exactly same thing. I like to say that the idea is the same, but I added a few modifications.
To be continued!
Sunday, October 1, 2017
University code sprint #3 - Bob's Game
Oct. 1, 2017
It is the busy day, a Sunday. I got a flat tire yesterday, I felt lucky to get flat tire when I walked out my home around 6 PM and I saw the flat tire. The worst thing is that I get a flat tire when I am driving on the road, or I walk to the car after one day work. I should work on the tire to get it replaced since more than 3 weeks ago a young man stopped at traffic night inside the car told me that I have a tire almost flat and I need to take care of it.
I joined CAA last night and had to work on fixing the tire.
The contest I played yesterday I did not score anything, I started around 2:00 PM, and then I tried to prepare China trip next Wednesday, and then I went over the documents I had. In the evening I worked on the third medium algorithm but I spent around 2 hours, but I did not make it. It is a medium algorithm with maximum score 50. I did work on a test case: ["...",".K.","..K"], I found out that I need to handle intermediate position of K each step.
Here is the C# code I submitted a few times and only passed test case 1.
I always know that I am not very competitive programmer, I have to work on medium algorithm very carefully. Otherwise, I may spend time but score 0.
I plan to work on those algorithm in university codesprint #3 after the contest one by one. I like to show that I am working hard and also learning things. Plan to ask questions on code review website as well.
It is like playing chess to figure out NIM game, I put down some drawing to work on the algorithm. I figured out I failed the test case, and then I like to show my drawings. I am the engineer who was trying to figure out NIM game by myself, around 8:00 PM - 10:00 PM Sept. 30, 2017 Saturday night.
Mark the night as a hardworking Vancouver programmer Julia Chen chose to work on, let us call it NIM game night. Here is the drawing to figure out a test case for the game:
Introduction
It is the busy day, a Sunday. I got a flat tire yesterday, I felt lucky to get flat tire when I walked out my home around 6 PM and I saw the flat tire. The worst thing is that I get a flat tire when I am driving on the road, or I walk to the car after one day work. I should work on the tire to get it replaced since more than 3 weeks ago a young man stopped at traffic night inside the car told me that I have a tire almost flat and I need to take care of it.
I joined CAA last night and had to work on fixing the tire.
The contest I played yesterday I did not score anything, I started around 2:00 PM, and then I tried to prepare China trip next Wednesday, and then I went over the documents I had. In the evening I worked on the third medium algorithm but I spent around 2 hours, but I did not make it. It is a medium algorithm with maximum score 50. I did work on a test case: ["...",".K.","..K"], I found out that I need to handle intermediate position of K each step.
Here is the C# code I submitted a few times and only passed test case 1.
Love the failure
I always know that I am not very competitive programmer, I have to work on medium algorithm very carefully. Otherwise, I may spend time but score 0.
I plan to work on those algorithm in university codesprint #3 after the contest one by one. I like to show that I am working hard and also learning things. Plan to ask questions on code review website as well.
Piece of puzzle to learn NIM game
It is like playing chess to figure out NIM game, I put down some drawing to work on the algorithm. I figured out I failed the test case, and then I like to show my drawings. I am the engineer who was trying to figure out NIM game by myself, around 8:00 PM - 10:00 PM Sept. 30, 2017 Saturday night.
Mark the night as a hardworking Vancouver programmer Julia Chen chose to work on, let us call it NIM game night. Here is the drawing to figure out a test case for the game:
Saturday, September 30, 2017
University codesprint #3: The Snake vs the Wind
Sept. 30, 2017
Introduction
It is 2:40 PM. I plan to spend 20 minutes to read the algorithm problem statement.Algorithm practice
University codesprint 3: Erupting Volcanoes
Sept. 30, 2017
It is 2:31 PM. I plan to work on the university codesprint next 10 hours. The erupting volcanoes is the algorithm to calculate the maximum value in the range of rectangle.
Introduction
It is 2:31 PM. I plan to work on the university codesprint next 10 hours. The erupting volcanoes is the algorithm to calculate the maximum value in the range of rectangle.
Anastasija Sevastova - tennis professional player
Sept. 30, 2017
It is challenge to do some research about the player, I knew her since she beat Sharapova in fourth of U.S. Open 2017 fourth round. Today China open Sharapova revenged and beat her to play first round against her.
The player information can be found here, and the author is tennis writer, I started to follow Steve Tignor on twitter.
Introduction
It is challenge to do some research about the player, I knew her since she beat Sharapova in fourth of U.S. Open 2017 fourth round. Today China open Sharapova revenged and beat her to play first round against her.
Study hard
Thursday, September 28, 2017
Thanksgiving campaign No. 1
Sept. 28, 2017
I plan to do some campaign for Canada thanksgiving holiday, to express my great holiday spirit. First activity is to ask a question on code review website. I miss those people who helped me from Nov. 2016 to March 2017, I like to go back to be one member of community.
It is so nice to experience the code review again tonight. I just posted the algorithm in less than 10 minutes ago around 10:30 PM, the best programmer already edited my post to fix style issues, grammar errors, clarify the problem statement by going over the content. The user profile is 200 Success, who is the moderator.
I miss the people to review my code, help me to become a better competitive programmer starting from Nov. 2016. After 6 months break, I finally decide to go back to routine to ask questions on code review website.
This past year is the tough for me physically, first time in my life I feel the uncomfortable on my right knee. I experience some short memory loss compared to strong memory before, for instance, I forget a friend's name if I have not met him last 6 months. I feel different specially I have to handle a deep pocket of my big tooth left side jaw, and I feel that aging is a university and I have to work hard to catch up learning how to deal with those new challenges.
I like to ask myself what I should do to stay connected to those people helping me grow as a software programmer. Those people help me, touch my heart to make my algorithm practice so interesting and also so rewarding. One of them is JS1 who shared the great advice for my coding solution.
Here is the snapshot to show how good the work is, I learn to improve my English writing so efficiently:
Here is my code review algorithm Find the smallest substring that contains some given subset of characters. Twitter link is here.
Oct. 25, 2017
code review C# code is here.
Introduction
It is so nice to experience the code review again tonight. I just posted the algorithm in less than 10 minutes ago around 10:30 PM, the best programmer already edited my post to fix style issues, grammar errors, clarify the problem statement by going over the content. The user profile is 200 Success, who is the moderator.
I miss the people to review my code, help me to become a better competitive programmer starting from Nov. 2016. After 6 months break, I finally decide to go back to routine to ask questions on code review website.
Thanksgiving activities
This past year is the tough for me physically, first time in my life I feel the uncomfortable on my right knee. I experience some short memory loss compared to strong memory before, for instance, I forget a friend's name if I have not met him last 6 months. I feel different specially I have to handle a deep pocket of my big tooth left side jaw, and I feel that aging is a university and I have to work hard to catch up learning how to deal with those new challenges.
I like to ask myself what I should do to stay connected to those people helping me grow as a software programmer. Those people help me, touch my heart to make my algorithm practice so interesting and also so rewarding. One of them is JS1 who shared the great advice for my coding solution.
Here is the snapshot to show how good the work is, I learn to improve my English writing so efficiently:
Here is my code review algorithm Find the smallest substring that contains some given subset of characters. Twitter link is here.
Follow up
Oct. 25, 2017
code review C# code is here.
Code review "LINQ and string.Split do it yourself practice"
Sept. 28, 2017
It is time to review the algorithm again. I posted the question more than 5 month ago, the link is here.
I had a mock interview and the peer chose to use C++ language. I did some research how to translate those four lines of C# code to C++ language.
I just could not believe that one day I can write a product using C# advanced feature like LINQ, write regular expression and groupby clause and where clause. I am so excited to set a small goal for my next project.
Introduction
It is time to review the algorithm again. I posted the question more than 5 month ago, the link is here.
Algorithm Practice
I had a mock interview and the peer chose to use C++ language. I did some research how to translate those four lines of C# code to C++ language.
I just could not believe that one day I can write a product using C# advanced feature like LINQ, write regular expression and groupby clause and where clause. I am so excited to set a small goal for my next project.
Time complexity analysis
Sept. 28, 2017
It was busy day on Sept. 27, and I had a mock interview at 10:00 pm on recursive function. My issue is how to analyze the time complexity.
C# practice is here.
If all keys in the dictionary are put into a tree, and all the nodes will be visited once using depth first search. So the time complexity should be the size of the tree. Recursive function is used, so no need to extra space to store all the nodes.
Introduction
It was busy day on Sept. 27, and I had a mock interview at 10:00 pm on recursive function. My issue is how to analyze the time complexity.
Algorithm Practice
C# practice is here.
If all keys in the dictionary are put into a tree, and all the nodes will be visited once using depth first search. So the time complexity should be the size of the tree. Recursive function is used, so no need to extra space to store all the nodes.
Wednesday, September 27, 2017
Canada thanksgiving day - Oct. 9 , 2017
Sept. 27, 2017
Thanksgiving day is coming very soon. I used to spend thanksgiving in November since I stayed in United States from 1996 to 2010. This thanksgiving day I will spend time in China and have vacation in the city of Beijing, and a trip to one of mountains called Yellow Mountain, a trip to my home town - city of Yichun, and visit of the city of Shenzhen and Shanghai.
Give thanks to friends all over the world, visit me in the city of Vancouver.
Introduction
Thanksgiving day is coming very soon. I used to spend thanksgiving in November since I stayed in United States from 1996 to 2010. This thanksgiving day I will spend time in China and have vacation in the city of Beijing, and a trip to one of mountains called Yellow Mountain, a trip to my home town - city of Yichun, and visit of the city of Shenzhen and Shanghai.
Am I ready for thanksgiving?
This month I attended the techfest in the city of Vancouver, I spent 20 dollars and got a drink, and met a few tech companies and learned a few things. So many thanks to the hard working people in Vancouver area, I learned so many things through the generosity of those employers.
Give thanks to those companies help me grow my talent? Stackoverflow, Amazon, Google, Microsoft, Vision Critical, Global Relay, Copperleaf, Viser Inc., Pramp, Refdash, Hackerrank, MP Lighting.
Give thanks to those companies help me grow my talent? Stackoverflow, Amazon, Google, Microsoft, Vision Critical, Global Relay, Copperleaf, Viser Inc., Pramp, Refdash, Hackerrank, MP Lighting.
Give thanks to friends all over the world, visit me in the city of Vancouver.
C# tutorial (II)
Introduction
To ensure that C# programs and libraries can evolve over time in a compatible manner, much emphasis has been placed on versioning in C#’s design. Many programming languages pay little attention to this issue, and, as a result, programs written in those languages break more often than necessary when newer versions of dependent libraries are introduced. Aspects of C#’s design that were directly influenced by versioning considerations include the separate
virtual and overridemodifiers, the rules for method overload resolution, and support for explicit interface member declarations.C# tutorial
I google using keyword "versioning in C#'s design", and I read a few articles.
Stackoverflow link is here by Eric Lipert, and read one blog called Not every IEnumerable is Object.
Next, I like to google what language lacks of versioning in C#'s design, Java? Or C++? I am very interested to find out.
Will come back with more.
Will come back with more.
Tuesday, September 26, 2017
My best friend knee pain
Sept. 26, 2017
It is the first time in my life I start to feel something uncomfortable with my right knee. I have enjoyed hundreds of hours tennis sports, but I have to spend time to study "tennis knee".
Life is my best teacher, and my knee pain is becoming my best friend. Come and go, I never know. I try to put something between with hiking, tennis sports, long hours walk.
I need the wisdom and I miss the fun to run around the tennis court. Every time I like to go outside and enjoy the outdoor, my knee pain may let me down in past few months.
Introduction
It is the first time in my life I start to feel something uncomfortable with my right knee. I have enjoyed hundreds of hours tennis sports, but I have to spend time to study "tennis knee".
Life is my best teacher, and my knee pain is becoming my best friend. Come and go, I never know. I try to put something between with hiking, tennis sports, long hours walk.
I need the wisdom and I miss the fun to run around the tennis court. Every time I like to go outside and enjoy the outdoor, my knee pain may let me down in past few months.
Do not count wrong doings (II)
Sept. 26, 2017
I wrote my first blog called "Do not count wrong doings" a few months ago. The link is here. And today I like to spend 10 minutes to write how I learn to make a dough after 150 lb wheat flour experience.
Today it is the first time I was so patient to allow myself to learn how to make a dough using two cups wheat flour. I spent 20 minutes to read, and one of my research topic tonight is "how long the rise dough should last", I watched some videos and also read some articles as well.
I started to prepare a dough around 8:00 PM, I checked after 45 minutes, it is not ready, and then I did research to compare wheat flour with bleached flour. Before I started mock interview around 10:00 PM, it was not fully rise. After I finished my mock interview around 11:47 PM, almost three hours the dough was fully rise.
I baked great bread like a commercial wheat flour break first time, and tasted so good.
I bake so many times and so often. But it is my knee pain recently to teach me how I should do a fully research before I make a dough, be super patient and give myself learning opportunity, read more and get better understanding.
I learn and enjoy the teaching from the video and the article, the links will be added later.
Introduction
I wrote my first blog called "Do not count wrong doings" a few months ago. The link is here. And today I like to spend 10 minutes to write how I learn to make a dough after 150 lb wheat flour experience.
Hundreds of baking
Today it is the first time I was so patient to allow myself to learn how to make a dough using two cups wheat flour. I spent 20 minutes to read, and one of my research topic tonight is "how long the rise dough should last", I watched some videos and also read some articles as well.
I started to prepare a dough around 8:00 PM, I checked after 45 minutes, it is not ready, and then I did research to compare wheat flour with bleached flour. Before I started mock interview around 10:00 PM, it was not fully rise. After I finished my mock interview around 11:47 PM, almost three hours the dough was fully rise.
I baked great bread like a commercial wheat flour break first time, and tasted so good.
I bake so many times and so often. But it is my knee pain recently to teach me how I should do a fully research before I make a dough, be super patient and give myself learning opportunity, read more and get better understanding.
I learn and enjoy the teaching from the video and the article, the links will be added later.
Tennis champ Sloane Stephen study
Sept. 26, 2017
It is fun to study the tennis champion of US open 2017 Sloane Stephan. I have 30 minutes to dedicate the study of the tennis player, now it is 9:17 PM, and I will have to work on mock interview starting from 9:55 PM. Let me have a good time to get educated and also entertained.
First, let me catch a video lasting 4 minutes, called "Tennis Champ Sloane Stephens on Winning US Open". The video link is here.
Second and always, I like to watch one of her practice videos. So I can learn more her as a player, how hard she works in the practice. 14 minutes video called "Teenage Sloane Stephens on Trans World Sport" in 2013 when she was 20 years old.
Plan to study The Legacy Agency (TLA) sports marketing John Tobias. The video link is here.
Introduction
It is fun to study the tennis champion of US open 2017 Sloane Stephan. I have 30 minutes to dedicate the study of the tennis player, now it is 9:17 PM, and I will have to work on mock interview starting from 9:55 PM. Let me have a good time to get educated and also entertained.
Sloane Stephen tennis star
First, let me catch a video lasting 4 minutes, called "Tennis Champ Sloane Stephens on Winning US Open". The video link is here.
Second and always, I like to watch one of her practice videos. So I can learn more her as a player, how hard she works in the practice. 14 minutes video called "Teenage Sloane Stephens on Trans World Sport" in 2013 when she was 20 years old.
Plan to study The Legacy Agency (TLA) sports marketing John Tobias. The video link is here.
Subscribe to:
Posts (Atom)













