Recent Posts

  • Call by Name vs. Call by Value in Scala

    Substitution Model In Scala, expressions are evaluated based on the substitution model, the idea is that all evaluation does is reduce an expression into a single value like what we […]

  • Quicksort algorithm – Lomuto partition scheme

    There are a multifarious number of sorting algorithms have been proposed and being used nowadays. Perhaps you’re already familiar with some sorting algorithms such as Bubble Sort, Selection Sort, or […]

  • char *, const char *, const * char, and const char * const in C

    Not really straight like many high languages such as JavaScript, or Java, working with Strings in C is not so easy-as-pie and sometimes it’s kind of confusing. There are some […]

  • An array of pointers and A pointer to an array in C

    A pointer in C simply is just a variable holding address in the primary memory of another variable, a pointer shouldn’t be dreaded like people usually think. However, there are […]

  • 905. Sort Array By Parity – In-place Solution | LeetCode Problem

    Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. You may return any answer array that satisfies […]

  • Runnable and Callable in Java

    In the early days of Java programming, whenever you want to create a thread, usually you would need the help of whether extending the Thread class or implementing the Runnable […]

  • What’s new in Java 15?

    Java 15 will officially be released in September 2020, however its new and updated features are now available for us as early access for who wants to find out. In […]

  • A Guide To Functional Interfaces in Java

    A functional interface is an interface that contains exactly one abstract method. However, it still can have an arbitrary number of default or static methods. Talk about a functional interface […]

  • Iterable and Iterator in Java

    A lot of people feel confused about the Iterator and Iterable interfaces in Java, because they have very similar names and sometimes they work together which makes people hardly tell […]

  • Serialization and Deserialization in Java through concrete examples

    In Java, the lifetime of all objects is limited at runtime, which means when you close a program and reopen it again, every object is reset to the initial state. […]

Categories

Archives