Today's challenge, taken from https://leetcode.com/problems/longest-substring-without-repeating-characters/, requires us to write a program to determine the length of the longest substring of a given...
Today, we have another interesting challenge from Leetcode (https://leetcode.com/problems/zigzag-conversion/); we're going to scramble a given word following a zig zag fashion. For instance, let's...
Here's another challenge from LeetCode
(https://leetcode.com/problems/integer-to-roman/). This challenge requires us to convert integers to roman numerals. The Roman Numbering...
Today's question is taken from LeetCode (https://leetcode.com/problems/reverse-integer). Given a 32-bit signed integer, reverse the digits of the integer. If the resulting integer is out of the...
For today's challenge, we need to write a program that prints out the Pascal Triangle. Pascal Triangle is named after Blaise Pascal, a famous French Mathematician and Philosopher. An example is...
Today's challenge involves doing basic trigonometry in Python. We'll be using Python to calculate the angles of a triangle using the cosine rule. First, what is cosine rule? Suppose you have a...