Image for post
Image for post

The main goal of this article is to share my experience in formatting data. Most of the apps have to show date, time, list of data, or transform and display mass, angle, duration, area, speed, volume, energy, length, temperature, pressure, and other kinds of measurements. It is very important to display data in the right way with proper format, units, imperial or metric measurements, localized.

Image for post
Image for post
Photo by Radek Grzybowski on Unsplash

My Social Media

LinkedIn Twitter Original Blog Github

1. DateFormater

DateFormater — formatter class that converts between dates and their textual representations. …


Image for post
Image for post

Generic code enables us to write flexible, reusable code. It helps us to avoid duplication and take our code consistent and more universal. I like statically typed languages like Swift because you need to understand where and how to use generics. In dynamically typed languages like PHP or Python, all functions work like generic code and you can put any variable of any type to function and wait on the result🤞. …


Image for post
Image for post

This exercise is a part of my Linked List topic.

You’re given the pointer to the head node of a linked list and an integer to add to the list. Create a new node with the given integer, insert this node at the head of the linked list and return the new head node. The head pointer given may be null meaning that the initial list is empty.

Input Format

You have to complete the SinglyLinkedListNode Insert(SinglyLinkedListNode head, int data) method which takes two arguments — the head of the linked list and the integer to insert. …

About

Alex Almost Engineer

iOS Software Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store