Code Monk

Tech forum for Java, algorithms & data-structures, Hibernate, RESTful API, Spring framework, Microservices architecture, Interview questions, Python, SDET, Machine learning, DevOps.

MySql 8 installation on Ubuntu 20

Upasana | November 19, 2020 | | 24 views

MySql 8 installation on Ubuntu 20, enable security, user creation, grant remote access to a user and firewall configuration

Read Article

Count word frequency in Java

Upasana | November 19, 2020 | 2 min read | 107 views

we will calculate word frequency for each word in a given sentence using various approaches - plain java, java 8 streams, parallel streams, etc.

Read Article

Elasticsearch with Spring Boot + Spring Data

Upasana | November 18, 2020 | | 14 views

In this article, we will discuss how to configure & use Elasticsearch Engine with Spring Boot & Spring Data using High Level REST Client provided by Elasticsearch.

Read Article

Finastra Investment Banking Interview Questions

Upasana | November 18, 2020 | | 9 views | investment banking

core java, multi-threading, executor framework, collections, streams, lambda expressions, coding challenges, inter service communication and unix based questions for interview preparation

Read Article

Factorial of a large number in Java BigInteger

Upasana | October 18, 2020 | 1 min read | 374 views

Factorial of relatively large numbers can be calculated by storing the resultant in BigInteger instead of a long or double

Read Article

Top 10 occurring words in a very large file java algorithm

Upasana | October 18, 2020 | 4 min read | 422 views | algorithm-datastructures

In this algorithm problem, we will keep track of top 10 occurring words from a very large file using min heap implementation in java

Read Article

Secure OTP generation in Java

Upasana | October 17, 2020 | 2 min read | 0 views

In this article we will learn how to generate a cryptographically strong OTP in Java using SecureRandom class.

Read Article

Download a file using Spring RestTemplate

Upasana | October 17, 2020 | | 122 views

In this article we will explore 2 different ways to download a file over Http using Spring RestTemplate.

Read Article

Java Program to find Factorial of a number

Upasana | October 17, 2020 | 2 min read | 382 views | Java Coding Challenges

Discussion on different approaches to calculate factorial of a given number - recursion, iterative approach and Java 8 stream approach

Read Article

Code review checklist for Java developers

Upasana | October 16, 2020 | | 24 views

Code review checklist considering clean code, concurrency, Reusability, Performance, Error Handling, Readability, Code Convention & Consistency and Security.

Read Article