Find Duplicate Element In the Array Java Program

Find Duplicate Element In the Array is most often asked by the requiter to the fresher. Today I am going to share the code snippet of the program to find the duplicate number or element from the Array. This program is implemented in the Java. You can also implement it in any other language of your choice.

Find Duplicate Number In Array








So this was a most popular often asked interview question for all the language. However, you can also improve this code by its time complexity. I have not mentioned it here because I want that you try by yourself.

So go through this code and improve your coding skill. You can also share this post on social media and can also follow Codepuran on the social media platforms.

For directly getting this type of questions in your Inbox please subscribe to the Codepuran newsletters.

How to Vertically Center the Text in the HTML

Do you ever need to keep the text in the center of the HTML Page?

Maybe. This seems an easier task and It is easy. But a little bit tricky too.

It might be possible that for this simple task you will spend half an hour too if you are not familiar with the HTML and CSS more. I also spend the sometimes to center the text in the HTML page while designing the launching page of my blog.

So today I am going to share the trick that how to vertically and Horizontally center the Text in the HTML document using CSS?

Code Snippet To Center Text Vertically In HTML Document



Out Put:



So this post is all about How to Align Vertically and Horizontally Text in the HTML document. Keep Visiting Codepuran for the latest tricks and tips of the programming like this.


If you like this post please share it in code forums and your geek friends. You can also subscribe to the Codepuran newsletters to directly get the latest posts in your inbox. Please share your views in the comment section below.