Skip to content

Instantly share code, notes, and snippets.

View sachin-handiekar's full-sized avatar

Sachin Handiekar sachin-handiekar

View GitHub Profile
referral link to sign up and get started — it takes just a few minutes:
👉 https://www.revolut.com/referral/?referral-code=saching4x5!APR1-26-VR-GB
To unlock the reward, you'll just need to:
✅ Sign up as a new customer
✅ Add money to your account
✅ Order a physical card
✅ Make a few card purchases
Get 30% off HelloInterview
https://www.hellointerview.com/premium/checkout?referralCode=HbDRwedV
#HelloInterview
#TechInterview
#CodingInterview
#SoftwareEngineer
#SystemDesign
#LeetCode
// ResourceTypeEventRegistry.java
import java.util.*;
public class ResourceTypeEventRegistry {
private static final Map<String, Set<String>> REGISTRY = new HashMap<>();
static {
// Source: https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazons3.html
REGISTRY.put("AWS::S3::Bucket", Set.of(
@sachin-handiekar
sachin-handiekar / gist:92c696c92a1de5a317f4889509887fe8
Created March 20, 2026 06:43
Love Costa Coffee? Get 6 beans FREE when you join the Costa App! - 🫘 https://app.costa.co.uk/PsbT/b5bksixx
Free Costa Coffee incoming! Use my Costa App referral link and score 6 beans instantly on your first handcrafted drink.
That's your free coffee getting closer with every sip.
🫘 https://app.costa.co.uk/PsbT/b5bksixx
#CostaApp
#CostaCoffee
#CostaCup
#CostaRewards
@sachin-handiekar
sachin-handiekar / gist:22dd7821968dfaeaeab56c26d48a5866
Created March 11, 2026 06:49
Load Balancer — Interview Question
# Load Balancer — Interview Question
**Difficulty:** Medium
**Topic:** Round Robin · Weighted Routing · HashMap · Design
**Time:** 45–60 minutes
---
## Problem Statement
@sachin-handiekar
sachin-handiekar / gist:3a5eb326d8f8120fc50fdcab76a42c34
Created March 11, 2026 06:48
Rate Limiter — Interview Question
# Rate Limiter — Interview Question
**Difficulty:** Medium
**Topic:** Sliding Window · Queue · Data Structures
**Time:** 45–60 minutes
---
## Problem Statement
Get a mystery reward of £10, £20 or £50 when you join Monzo using the referral link - https://join.monzo.com/c/pf9x8xry
#Monzo
#MysteryReward
Build your own Redis, Git, HTTP server & more from scratch with @codecraftersLearn by doing with hands-on challenges that teach you how real systems work.
Join here: https://app.codecrafters.io/join?via=sachin-handiekar
#CodeCrafters
#LearnToCode
#SystemsProgramming
package com.interview.practice.ssrf;
import jakarta.ws.rs.ProcessingException;
import jakarta.ws.rs.client.Client;
import jakarta.ws.rs.client.ClientBuilder;
import jakarta.ws.rs.client.WebTarget;
import jakarta.ws.rs.core.Response;
import org.glassfish.jersey.client.ClientProperties;
import java.net.IDN;
package com.example.resttemplatedemo.exception;
public class CustomExceptions {
public static class ApiException extends RuntimeException {
private final int statusCode;
private final String responseBody;
public ApiException(String message, int statusCode, String responseBody) {
super(message);