Code Monk

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

AWS Lambda in Kotlin using Spring Cloud Function

Upasana | August 01, 2020 | 5 min read | 455 views | AWS Tutorials

In this tutorial we will use Spring Cloud Functions (version 2.x) in Kotlin to create and deploy a simple AWS Lambda.

Read Article

Kotlin Coroutines with Retrofit

Upasana | August 01, 2020 | 4 min read | 2,667 views

In this tutorial we will use android architecture components for making Kotlin coroutine enabled REST API calls using Retrofit in Android Application

Read Article

Spring Boot Sidecar

Upasana | July 31, 2020 | 6 min read | 1,937 views

In this tutorial we will integrate a non-JVM app (python Flask app in this case) into Spring Cloud seamlessly using polyglot sidecar support

Read Article

UBS Java Interview Questions

Upasana | July 31, 2020 | 2 min read | 1 views | investment banking

Important concepts and interview questions for UBS Investment Banking Domain - Concurrency, Multi-threading, Inheritance, Garbage collection, Design Patterns, important books and references

Read Article

Install Cassandra 4 on Ubuntu 20.04

Upasana | July 27, 2020 | 3 min read | 118 views

Apache Cassandra 4 beta came out just few days ago. In this article we will explore how to install Cassandra on Ubuntu 18 and 20.04 LTS server.

Read Article

MD5 and SHA256 in Java Kotlin and Android

Upasana | July 26, 2020 | 4 min read | 10,824 views

Compare different options to compute MD5 (or theoretically any other Hash Function such as SHA-1, SHA-256) using Java, Android and Kotlin.

Read Article

Custom Thread pool implementation in Java

Upasana | July 25, 2020 | 3 min read | 4,666 views

thread pool executor requires a Queue for holding tasks and a collection of Worker Threads that will pick up tasks from the work queue start running them.

Read Article

Difference between Callable and Runnable Interface

Upasana | July 25, 2020 | 2 min read | 573 views | Multithreading and Concurrency

Callable interface is similar to Runnable, in that both are designed for classes whose instances are potentially executed by another thread. A Runnable, however, does not return a result and cannot throw a checked exception.

Read Article

Detect Cycle/Loop in Linked List

Upasana | July 25, 2020 | 2 min read | 46 views

This solution is “Floyd’s Cycle-Finding Algorithm” as published in “Non-deterministic Algorithms” by Robert W. Floyd in 1967. It is also called “The Tortoise and the Hare Algorithm”.

Read Article

Multi-threading Java Interview Questions for Investment Bank

Upasana | July 25, 2020 | 4 min read | 751 views

Top 50 Java multithreading interview questions for Investment Bank, healthcare, BFSI domain on Core Java, concurrency, hibernate, spring, algorithms

Read Article