Posts by Aakanksha Thakar

Author Biographical Info: Not available

Sort array elements by length in Swift

By Aakanksha Thakar

This tutorial will show you how to sort an array of elements by a length in Swift. This type of sorting is done mainly on a string array to get a sorted array according to the elem.... Read More

How to sort elements of a list by length in Python

By Aakanksha Thakar

This tutorial will show you how to sort the list elements by their length in Python. Unlike arrays, lists are containers that can store the data of various data types altogether. T.... Read More

Get random n rows from a 2D array in C++

By Aakanksha Thakar

This tutorial will show you how to get the random n number of rows from a 2D array in C++. The 2D array is nothing but a matrix which have rows and columns. We will generate n rand.... Read More

Print array items without commas in Python

By Aakanksha Thakar

This tutorial will see how to print the array elements without commas in Python. Arrays are the data structures that store data of similar data type. Now to print the array element.... Read More

Convert camel case to snake case in Swift

By Aakanksha Thakar

This tutorial will see how to convert the camel case to the snake case in Swift. First of all what are camel and snake cases? Camel and snake are the two styles of text. In the cam.... Read More

Remove last n occurrences of a substring in a string in Swift

By Aakanksha Thakar

This tutorial will see how to remove the last n occurrences of a substring in a string in Swift. The substring is part of the parent string. Algorithm Step 1: Import the foundation.... Read More

Remove last element from an array in Swift

By Aakanksha Thakar

This tutorial will see how to delete the last element from an array in Swift. Algorithm to remove last element from an array in Swift Check whether the array has any elements or no.... Read More

Remove last n occurrences of substring in a string in C++

By Aakanksha Thakar

This tutorial will see how to remove the last n occurrences of the substring in a string in C++. The string is said to be substring if each character from it is present in the pare.... Read More

Related Posts