Latest blogs

Keep learning new technologies.

find the maximum count of consecutive time string b appears in string a

By

write a program in javascript to find the maximum count of consecutive time string b appears in string a . For example if a = "popodfspo", b = "po". The output will be 2 since "po" appears 2 times consecutively in string a.

Posted 1 year ago

TCS Node JS interview questions

By

2024 TCS node, javascript interview questions

Posted 1 year ago

30 advanced golang interview questions and answers

By

Here are 30 advanced Golang interview questions along with their answers:

Posted 1 year ago

golang interview questions

By

here are some common Golang interview questions along with their answers:

Posted 1 year ago

how to calculate complexity in java script

By

Big O notation is a mathematical representation used to describe the complexity of an algorithm, specifically in terms of its time or space requirements as the input size grows. It's a crucial concept in computer science for analyzing how well an algorithm scales. Here's a primer on Big O notation, followed by how you can apply this understanding to calculate the complexity of JavaScript code.

Posted 1 year ago

explain omitempty golang

By admin

In Go, particularly when dealing with JSON serialization and deserialization, the omitempty option in struct field tags plays a crucial role in handling optional fields. When you see omitempty in a struct tag, it indicates that the field should be omitted from the JSON output if the field has an empty value.

Posted 1 year ago