I randomly chose to solve the Word Search challenge at LeetCode found at the following URL: https://leetcode.com/problems/word-search/
Following are the console screen captures from the Eclipse IDE for the three sample cases using the same character array: Continue reading “Word Search”
In machine learning, a decision tree is a predictive model which maps observations about an item (represented in the branches) to conclusions about the item’s target value (represented in the leaves). It is one of the predictive modeling approaches used in statistics, data mining and machine learning.
Tree models where the target variable can take a finite set of values are called classification trees; in these tree structures, leaves represent class labels and branches represent conjunctions of features that lead to those class labels. Continue reading “Decision Tree – Machine Learning”
I would like to open this post by mentioning that it is classified under the Computer Science category. In actuality, the technique applies to any time an individual wishes to learn something new, improve your understanding of a subject / topic or to prepare for an exam.
To give the technique validity, we first need to know who Richard Feynman was. Continue reading “The Feynman Technique”
I received an email message from HackerRank suggesting a Python challenge. The challenge is described in the following URL: https://www.hackerrank.com/challenges/python-division?utm_campaign=challenge-recommendation&utm_medium=email&utm_source=24-hour-campaign
Following is the output from a console using Visual Studio 2013 Professional with the PTVS (Python Tools for Visual Studio) plug-in using the sample input data: Continue reading “Python: Division”
Do not have much time this morning so I just addressed the next challenge in the Python Introduction set at HackerRank named Python If-Else that you can find at: https://www.hackerrank.com/challenges/py-if-else
This challenge tests the ability to write a set of correct if-then-else set of statements (including nested conditions). Continue reading “Python If-Else”
I just wanted to start posting entries on Python. Decided to start with the Introduction section found at HackerRank using the following URL: https://www.hackerrank.com/domains/python/py-introduction
Following is a list of challenges in the Intro section: Continue reading “Python Introduction”
Over the weekend I received an automated email message from HackerRank to solve the following challenge: https://www.hackerrank.com/challenges/overload-operators?utm_campaign=challenge-recommendation&utm_medium=email&utm_source=24-hour-campaign
If interested, please take a look at the challenge description.
As usual, I try to address the challenge without consulting the provided code or look at the discussions. After losing some time on my own, I check the discussions and the code provided to solve the challenge. In this case the following read only code was provided: Continue reading “Overload Operators C++”
The last challenge in the Introduction set for C++ at HackerRank is described in the following URL: https://www.hackerrank.com/challenges/virtual-functions
The description of the requirements is not too clear. Continue reading “Virtual Functions”
This is the second to last challenge in the Introduction section of C++ at the HackerRank site: https://www.hackerrank.com/challenges/variable-sized-arrays
If interested please take a look at the challenge definition. Continue reading “Variable Sized Arrays”
I received an automated message from HackerRank with a challenge based on strings. I incorrectly assumed it was the next one in the Introduction section of C++. After solving it I found I made an incorrect assumption. Such is life. Continue reading “Strings in C++”