String palindrome in python Write python code to find palindrome strings. A Palendrome string can be read the same from either direction left to right or right to left. Palindrome python code Here is a palindrome algorithm python code. You may also checking this post for a C++ implementation. Thanks for visiting. Please use the
Anagram solver in python Two strings are anagrams if they contain the same set of characters regardless of the order of individual characters such as “earth” and “heart”. Write python code to detect if two strings are anagrams. Python anagram solver code Here is the code in python. You may also check this solution in
Python repeated character in string Given a string of characters. Write python code to print the repeated characters Solution This is a typical dictionary based problem. Here is how to do that in Python. You may need to take a look at the following similar articles Character count in string java String repeated characters count
Second largest number python problem Given an array of numbers, write python code to find second largest number in array Code to find second largest number in list A C++ version can also be found here. Thanks for visiting. Please use the comments section for feedback.
Computer science or computer engineering for software engineer? The aim of this post is to contrast some computer terms used in the industry and academia as well. Some people are just curious to know the differences but for students in particular, realizing what these terms stand for is very important before deciding on a certain
Introduction Throughput, turnaround time, response time and waiting time are frequently mentioned terms in operating systems. They may look similar but they refer to different methods for evaluating CPU scheduling algorithms. When multiple processes are running, the CPU has to determine which process runs next in order to utilize resources and optimize system performance. For
Introduction This is the second tutorial on Unity IAP. In the previous one, we talked about Android. Today, we are going to talk about iOS and tvOS. I am not going to repeat the topics that apply to both Android and iOS. You can refer to the first tutorial for things like creating a unity project,
In a previous article, I explained how to use Charles proxy to test SSL network connections for iPhone and Android. For tvOS, it is a little bit different. Follow the steps below to configure Charles proxy on Apple TV with SSL support. Please not that this setup can also be applied to iOS as well.
Introduction Today, I am going to talk about memory mapping, a typical topic in operating systems design. I will provide a short summary of memory mapped files in an easy to follow manner. Before we start, I recommend that you get a basic idea about some relevant concepts such as multitasking and paging. Here are
Introduction This is a commonly asked question in operating systems design. In this post, I am going to provide few examples to clarify the difference between policy and mechanism in OS. Let us first explain what policy and mechanism stand for. Definition Given a particular task, policy refers to what needs to be done (i.e.