sam rubin·Dec 29, 2024Internals of ComparatorThe Comparator interface is a primary choice for sorting elements in a collection. It enables comparison of objects to determine their…
sam rubin·Apr 9, 2024Reduce in Java StreamIn this write up, let’s explore the “reduce” method in Java Stream. Synonyms for “reduce” include diminish, lessen, or decrease…
sam rubin·May 3, 2023Top 25 Java 8 Stream queGiven a list of integers, write a Java 8 stream to find the sum of all even numbers in the list.
sam rubin·Mar 14, 2023Learn Basics of AI in 6 Months.A Guide from ChatGPTAI is the current big breakthrough in the tech industry, so i was interested in learning AI and asked ChatGPT to guide me. Here are the…
sam rubin·Mar 13, 2023Top 28 Keywords to Refine Your Search In ChatGPTWe are living in a AI Assisted world, AI Assisted bots can really help us to solve many real problems but in order to solve them we need to…A response icon1A response icon1
sam rubin·Sep 12, 2022Render Props in ReactJSRender Props is a pattern followed in ReactJS to share the state between components. This can be acheived with the help of a prop which…
sam rubin·Sep 2, 2022Why TypeScriptJavascript is a dynamically type language, that is Javascript engine does not check the type of the variable before executing the code…
sam rubin·Mar 20, 2022CountDownLatch In JavaThis article is a continuation to our previous article on Reentrant locks in java.
sam rubin·Jan 19, 2022Insertion SortImagine you have a sorted sequence of cards, let’s say 7 ,8 , 10, jack and king. Now you want to place card no 9 in this sorted sequence…
sam rubin·Jan 18, 2022Reentrant lock in Java.This article is a continuation to our previous article extrinsic locksin java.