Functional alternative to loops
With new functional features adding up in languages like java, it is good to know how to loop in a functional way. Following are some of functional alternative for ‘for’ loop which you can use
With new functional features adding up in languages like java, it is good to know how to loop in a functional way. Following are some of functional alternative for ‘for’ loop which you can use
There are different library available in Golang to publish and subscribe topics in kafka. In this example, we are using sarama library to list all the available topic at kafka broker.
To get sarama library, run below command. …
Here in this article, we shall discuss steps and different approach of implementing Inorder tree traversal. You can get the inorder tree traversal in java in our article Inorder Tree Traversal (DFS) in java. There are two ways, iterative and recursive for inorder tree traversal. We follow below steps for traversal …
Here in this article, we shall discuss steps and different approach of implementing preorder tree traversal. You can get the preorder tree traversal in java in our article Preorder Tree Traversal (DFS) in java. There are two ways, iterative and recursive for preorder tree traversal.We follow below steps for traversal …