My Day To-Do

  • Home
  • Blog
  • Apps
  • Our story
  • Contact
  • iOS
  • Javascript

Algorithms

Algorithms

How to sort a list – Salesforce Commerce Cloud

One of the projects I am working on right now involves building solutions in Salesforce Commerce Cloud. Salesforce Commerce Cloud can be a little intimidating at first glance! However once you spend some time with it, it’s not as difficult, especially if you are from a Java background. In this Read more…

By Bhuman Soni, 1 yearJanuary 4, 2021 ago
Algorithms

Find the middle node of a LinkedList

My solution to the coding problem to find the middle node of a LinkedList in Javascript. Middle Node of a LinkedList /* LinkedList node */ class Node { constructor(data, next) { this.data = data; this.next = next; } } function printMiddle(head) { if (!head) console.log(“Empty List”); let slowPtr = head; Read more…

By Bhuman Soni, 2 yearsDecember 9, 2020 ago
Algorithms

Binary Search Tree in Java with JUnit

I have been brushing up on my algorithmic coding skills and mate, are trees challenging or what? Yes they are a logical but difficult data structure to work with. Algorithmic problem solving & Java The most interesting thing about all this is, despite heavily coding in iOS Swift and Javascript Read more…

By Bhuman Soni, 2 yearsJune 8, 2020 ago
Algorithms

Detect string or anagram in parent string

My solution to a “Coding Problem” focused on algorithmic problem solving, that I came across. You are given two strings, a ‘parent’ string and a ‘query’ string respectively. Your task is to determine how many times the query string – or an anagram of the query string – appears in Read more…

By Bhuman Soni, 2 yearsMarch 11, 2020 ago
Algorithms

No of smaller elements to the right of array (Typescript)

My solution to a “Daily Coding Problem” that I received in my mail today. Given an array of integers, return a new array where each element in the new array is the number of smaller elements to the right of that element in the original input array. For example, given Read more…

By Bhuman Soni, 2 yearsMarch 7, 2020 ago

Posts navigation

1 2 … 5 Next
Search
Newsletter

Like the blog? Subscribe for updates

Recent posts
  • What is Javascript event loop? June 24, 2022
  • How to setup Java 18 on your mac June 7, 2022
  • How to build React app with Redux Store for state management March 20, 2022
  • Java Spring Boot & Vanilla Javascript solution December 4, 2021
  • How to deploy spring boot app to AWS & serve via https November 20, 2021
  • The 3 stages of my software engineering career October 23, 2021
  • Covid case numbers react app September 5, 2021
  • Building react app for Java backend (React vs Angular) July 15, 2021
Recent comments
  • Bhuman Soni on Breadth-First Search in Typescript and Javascript
  • Kelly on Breadth-First Search in Typescript and Javascript
Previous Posts
Buy Me A Coffee

Coffee?

  • Apps
  • Blog
  • Our story
  • Home
  • Contact
  • My Day To-Do
  • Snap! I Was There
  • Privacy Policy
  • Terms of Use
Hestia | Developed by ThemeIsle