Java

32 Articles 2 Followers


Sorting Algorithms 1

11 May 2022 1 minute read 0 comments Cooldudue

Hello everyone Before I dive deep into the theory of sorting algorithms, I thought it would be a fun exercise to create my own algorithms and see how they compare to those I will learn about. The algorithm I have prepared today simply compares the on...

Counting how many times a word appears in a sentence

10 May 2022 1 minute read 0 comments Cooldudue

Hello everyone This is a question I got in a coding interview and while I know how to solve it in python, Java is a different beast.  My approach was to split the sentence into an array of words and then check how many times a word appears in the arr...

Week Recap and plans for the next week 01/05-08/01

8 May 2022 1 minute read 0 comments Cooldudue

Hello everyone  So this week I finished two mini-code projects mentioned in my previous posts. I still have to publish my code for the most wanted primes from Numberphile. This week I finished most of the analysis and predictive models from the follo...

Reverse a String

6 May 2022 1 minute read 1 comment Cooldudue

This was a pretty easy one. From the previous problem, I knew how to convert a string to an array of char. Then I had to make a copy of the array but in Java, it's not as easy as saying a=b. Then I looped through the first array replacing each letter...

Checking whether or not a number is an Armstrong Number

5 May 2022 1 minute read 0 comments Cooldudue

This was an interesting challenge as I had no idea how I was going to get each digit into an array. In python, you can just convert the int to a string and then index the string directly. I found this interesting solution on Stack Exchange to convert...

THE BEGINNING

23 Aug 2021 1 minute read 0 comments Jadders

Welcome to my blog! So after finishing university, and working a few IT support desk roles, I’ve finally decided to chase my dream job. Ever since typing my first line of code, I’ve always wanted to be able to do it professionally, and work on tons o...

SOLID Principles in a Nutshell

5 Aug 2021 1 minute read 0 comments The Glitcher

  SOLID is just an acronym for the five design principles in Object Oriented Design by Robert.C.Martin famously known as Uncle Bob in the Clean Code Book.  This post explains those design principles in a nutshell.   S stands for Single Responsibilit...

Basic features of Spring Boot!

10 Jul 2021 1 minute read 0 comments 0xgult

What are some of the basic features of Spring Boot and what makes it easy for people to work with? Spring CLI If you want to rapidly develop a Spring application, the Spring CLI lets you use the command line for that. It lets you run Groovy scripts w...

Lambda Expressions- Reshaping Java Language

7 May 2021 1 minute read 2 comments ac05

Many features were added in java since its initial release. however, the two that stand out most in reshaping this language were generics and lambda expressions. The lambda expressions added two new capabilities:- It added new syntax element that in...

Training that is free for a Limited Time - 3/22/2021

22 Mar 2021 1 minute read 0 comments Slank

Below are some free Udemy courses that are free with a coupon. All these courses will be free for the next day or so. If you see anything you are interested in add it to your account. If you do decide to take any of the courses, be sure to give the i...