One of the Most easiest problem I have ever seen on Leetcode is: 1431. Kids With the Greatest Number of Candies.I have attached the solution.If anyone has better approach please share.
Back to DSA after quite some time.
Solved "Create Binary Tree From Descriptions" using a hashmap set approach to efficiently build the tree and identify the root node.
A small problem, but a good reminder that consistency matters more than speed. One problem at a time.
#DSA
Started from 0.
No audience. No support. Just consistency.
Iβm building my coding YouTube channel from scratch π»
If you believe in growth, support me hereπ
youtube.com/@technicallaunchβ¦
One day this will be BIG π
#buildinpublic#coding#startup
Day 26 β Caching & Reuse
Cache frequent prompts and responses.
Reuse embeddings across queries.
Reduces cost and latency at scale.
Donβt recompute what you can reuse. π
#GenAI#BuildInPublic
Day 25 β Human-in-the-Loop
Critical decisions need human review.
HITL reduces risk and improves quality.
Automation works best with oversight.
Humans close the loop. π
#GenAI#BuildInPublic
Day 24 β Privacy & Security
GenAI systems must protect user data.
PII handling, access control, and secure storage are critical.
Security isnβt optional at scale.
Trust is built, not assumed. π
#GenAI#BuildInPublic
Day 23 β Data Quality
Model performance depends on input quality.
Clean, relevant data > more data.
Bad data amplifies hallucinations.
Garbage in, garbage out. π
#GenAI
Day 21 β Observability
Production GenAI needs visibility.
Logs, traces, and metrics reveal failures and costs.
You canβt improve what you canβt observe.
Debugging starts with insight. π
#GenAI
Day 20 β Orchestration
Complex GenAI systems need orchestration layers.
Manages models, tools, memory, and workflows.
Enables scalable, multi-step pipelines.
Systems > prompts. π
#GenAI#BuildInPublic
Day 18 β Multimodal Models
Multimodal models handle text, images, audio, and video together.
They enable cross-modal reasoning and richer interactions.
Use cases go beyond chat: vision, voice, and agents.
One model, many senses. π
#GenAI