minusSeconds() Method with Example in Java

By Swastik Panja

In this tutorial, we will learn about the minusSeconds() Method with an example in Java. This minusSeconds() method basically subtracts the given number of seconds from a time valu.... Read More

Split a string into an array of substrings in Swift

By Khushi Aswani

This tutorial is all about splitting a given string into an array of substrings in Swift. Here we are provided with a string where we need to find its subsequences. There is a meth.... Read More

C++ program to change a Binary Tree so that every node stores sum of all nodes in left subtree

By Prabhnoor Singh

Update every node of a binary tree such that it stores the sum of all nodes in its left subtree including its own in C++. What is a Binary Tree? A non- linear data structure in whi.... Read More

C++ program to check if binary representation of a number is palindrome

By Prabhnoor Singh

For a non-negative number x, print Yes if the binary representation of x is a palindrome else print No in C++. The binary representation of a number with leading 0’s will not.... Read More

Convert Comma Separated String into Array in Swift

By Khushi Aswani

As you might have guessed from the topic, today we are going to convert a comma-separated string into an array in Swift. In the previous tutorial, we learned how to convert array t.... Read More

Get the last n elements of an array in Swift

By Khushi Aswani

This tutorial is all about finding the last elements of an array in Swift. This simply means working on the array to fetch the last few elements which is sometimes a crucial task w.... Read More

Lock the rotation of an Object in Unity

By Y SAI KIRAN

Hello Game Developers, In this article, I will show how to “Lock the rotation of an Object in Unity”. During game development, this simple object rotation issue in 3D games has.... Read More

Find Shortest path of a weighted graph where weight is 1 or 2 in Java

By Aniruddha Ghosh

In this article, we will discuss how to Find the Shortest path of a weighted graph where weight is 1 or 2 in Java. So you are given a directed weighted graph where every edge weigh.... Read More

Related Posts