Posts by Khushi Aswani

Author Biographical Info: Python programmer who is also interested in content writing.

How to merge two binary max heaps in Python

By Khushi Aswani

In this tutorial, we will see what is max heap and how to merge two binary max heaps in Python. The answer of our first question, a max heap is a complete binary tree in which the .... Read More

Convert all characters of a string to lowercase in Swift

By Khushi Aswani

This tutorial is all about converting all characters to lowercase in Swift. We will write a string in uppercase and then try to convert it into lowercase using lowercased() method..... Read More

time.perf_counter() function in Python with examples

By Khushi Aswani

In this tutorial, we will learn about time.perf_counter() function in Python. Its function is to calculate the total execution time of any program. It returns a float value (precis.... Read More

Convert an array to a string in Swift

By Khushi Aswani

In this tutorial, we will learn how to convert an array into a string in Swift. This could help out in various tasks when dealing with arrays and strings in Swift. It can be easily.... Read More

Iterate a loop with index and element in Swift

By Khushi Aswani

In this tutorial, we will learn how to iterate over a list in Swift and print the item in the list with its index. Sometimes, we need to work with the item and its index, here this.... Read More

Retrieve value from a dictionary in Swift

By Khushi Aswani

Working with a dictionary often requires good hands-on on the topic and it is no doubt that fetching value associated with the key is important in the dictionary. This tutorial is .... Read More

Retrieve key from a dictionary in Swift

By Khushi Aswani

When working on a dictionary, mostly we work on its value but sometimes we are required to fetch the key’s value, this tutorial is all about learning different and easy metho.... Read More

Check for String prefix in Swift

By Khushi Aswani

This tutorial is based on the topic prefix which falls under the strings Prefix means working on the starting on the starting part of a string. In this post, we will discuss a few .... Read More

Related Posts