Open in app

Sign In

Write

Sign In

Suneet Agrawal
Suneet Agrawal

704 Followers

Home

About

May 20

Map Implementation in Java

Java provides a powerful data structure called Map, which is used to store key-value pairs. A Map is a collection of unique keys and their corresponding values, and it provides efficient methods to add, remove, and access elements in constant time. In this blog, we will discuss the implementation of…

Java

3 min read

Map Implementation in Java
Map Implementation in Java
Java

3 min read


May 19

Set Implementation in Java

Set is an interface in Java that represents a collection of unique elements, meaning that no two elements in a set can be the same. Java provides several implementations of Set, each with its own unique features and trade-offs. In this blog post, we will explore the different implementations of…

Java

2 min read

Set Implementation in Java
Set Implementation in Java
Java

2 min read


May 18

Function Expression : JavaScript

JavaScript is a dynamic and versatile programming language that allows developers to create complex and dynamic applications. One of the key features of JavaScript is its ability to use functions as first-class citizens. This means that functions can be assigned to variables, passed as arguments to other functions, and even…

JavaScript

2 min read

Function Expression : JavaScript
Function Expression : JavaScript
JavaScript

2 min read


May 17

JavaScript ‘For’ Loop

Loops are an essential part of any programming language, and JavaScript is no exception. One of the most common loops used in JavaScript is the for loop. In this blog, we will focus on the for loop in JavaScript and how it can be used to iterate over an array…

JavaScript

2 min read

JavaScript ‘For’ Loop
JavaScript ‘For’ Loop
JavaScript

2 min read


May 16

Array Operations in JavaScript (Push, Pop, Shift and Unshift)

JavaScript is a powerful programming language that offers several ways to manipulate arrays, which are one of the most commonly used data structures in JavaScript. Four important array manipulation methods are push, pop, shift, and unshift. These methods allow you to add and remove elements from the beginning or end…

JavaScript

2 min read

Array Operations in JavaScript (Push, Pop, Shift and Unshift)
Array Operations in JavaScript (Push, Pop, Shift and Unshift)
JavaScript

2 min read


May 15

Equality (‘=’ vs ‘==’ vs ‘===’) in JavaScript

In JavaScript, there are three types of equality operators: =, ==, and ===. Each of these operators has a different purpose and can lead to different results when used. Understanding the differences between these operators is essential for writing efficient and reliable code in JavaScript. This post was originally posted…

JavaScript

2 min read

Equality (‘=’ vs ‘==’ vs ‘===’) in JavaScript
Equality (‘=’ vs ‘==’ vs ‘===’) in JavaScript
JavaScript

2 min read


May 14

Lerp Function : Unity

In game development, one of the most common problems is the smooth transition of objects from one position to another. A linear interpolation or Lerp function is a popular technique used to achieve this in Unity. In this blog post, we will explore the lerp function in Unity and its…

Unity

2 min read

Lerp Function : Unity
Lerp Function : Unity
Unity

2 min read


May 14

Round vs Floor vs Ceil : Swift

Rounding up to the nearest Integer value functionality is something required a lot of times. Swift has a few inbuilt functions which can do the rounding up for us but they are a bit confusing. To decide when to use what, we need to understand which rounding function rounds up…

Swift

2 min read

Round vs Floor vs Ceil : Swift
Round vs Floor vs Ceil : Swift
Swift

2 min read


May 13

Safe calls(?.) vs Nil checks(!.) in Swift

In Swift, the type system distinguishes between references that can hold nil (nil references) and those that can not (non-nil references). For example, a normal property can’t hold a nil value and will show a compile error. This post was originally posted at https://agrawalsuneet.github.io/blogs/safe-calls-vs-nil-checks-in-swift/ and later reposted on Medium. Instead…

Swift

2 min read

Safe calls(?.) vs Nil checks(!.) in Swift
Safe calls(?.) vs Nil checks(!.) in Swift
Swift

2 min read


May 12

Default vs Optional vs Explicit Non-nil Variables: Swift

In Swift, we can differentiate the variables into three different categories based on their possible values. The variable can be of default type, optional type or an explicit non-nil type. All three types of variables can be clubbed with both let and var. Or they can also be used with…

Swift

2 min read

Default vs Optional vs Explicit Non-nil Variables: Swift
Default vs Optional vs Explicit Non-nil Variables: Swift
Swift

2 min read

Suneet Agrawal

Suneet Agrawal

704 Followers

https://agrawalsuneet.github.io/

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams