Skip to content

Crack SDE

Most of the content are generated by AI, with human being reviewed, edited, and revised

Menu
  • Home
  • Daily English Story
  • Tech Interviews
  • Cloud Native
  • DevOps
  • Artificial Intelligence
Menu

Category: Golang

PrefixSum Algorithm

Posted on 01/04/202401/23/2024 by user

The Prefix Sum algorithm is a technique primarily used to efficiently calculate the sum of elements in a given range (i.e., sum of elements from index i to j) in an array….

Sliding Window Algorithms

Posted on 01/03/202401/21/2024 by user

The sliding window technique is a method used in algorithm design to efficiently solve problems that involve contiguous subarrays or substrings of a given size or condition. It’s particularly useful when you…

[Draft]Algorithms that You Have to Know[in go]

Posted on 12/25/202301/04/2024 by user

Make duplicate to zero Bubble Sorting

Palindrome Problems Summary

Posted on 11/21/202311/26/2023 by user

Palindrome problems 1. Basic algorithm to check palindrome This section presents methods for checking if a string is a palindrome: 1.1 Check if a substring is palindrome at i and expand it….

Combinational Sum

Posted on 11/20/202311/24/2023 by user

Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target. You may return the…

List library in golang

Posted on 11/10/202311/10/2023 by user

In Go (Golang), list.New() is used to create a new doubly linked list. The container/list package provides the implementation for this data structure. A doubly linked list allows you to store a…

slices.Sort in Go lang

Posted on 11/10/202311/10/2023 by user

The slices.Sort function in Go is used for sorting slices. It was introduced in Go 1.18 as part of the new generics features, providing a more straightforward and type-safe way to sort…

Check data type in golang

Posted on 10/11/202311/14/2023 by user

In Go (Golang), checking the data type of a variable can be done in several ways, depending on the context and what information you need about the data type. Here are some…

Decode JSON in Golang

Posted on 10/10/202311/14/2023 by user

In Go (Golang), there are several ways to decode JSON, each suited for different scenarios. Here’s a list of common methods along with their typical use cases: 1. json.Unmarshal json.Unmarshal: This is…

Find the first and last occurrence in an array

Posted on 10/09/202311/13/2023 by user

To find the first occurrence of a target value in a sorted array using binary search, the algorithm needs to be slightly modified from the standard binary search. The goal is to…

Posts pagination

1 2 Next

Recent Posts

  • LC#622 Design Circular Queue
  • Started with OpenTelemetry in Go
  • How Prometheus scrap works, and how to find the target node and get the metrics files
  • How to collect metrics of container, pods, node and cluster in k8s?
  • LC#200 island problem

Recent Comments

  1. another user on A Journey of Resilience

Archives

  • May 2025
  • April 2025
  • February 2025
  • July 2024
  • April 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • June 2023
  • May 2023

Categories

  • Artificial Intelligence
  • Cloud Computing
  • Cloud Native
  • Daily English Story
  • Database
  • DevOps
  • Golang
  • Java
  • Leetcode
  • Startups
  • Tech Interviews
©2025 Crack SDE | Design: Newspaperly WordPress Theme
Manage Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}