Open in app

Sign In

Write

Sign In

svalak
svalak

67 Followers

Home

About

Pinned

Reflections, learnings ‘2022— “DSA is not just for Interviews “

As we head into a new year, I am in reflection mode. I love to ask myself — What worked for me this year , so far? What should I change? How can I improve further? Of course — I may not be able to find the answers for everything…

Reflections On Life

4 min read

Reflections, learnings — Being an Engineer
Reflections, learnings — Being an Engineer
Reflections On Life

4 min read


Pinned

[System Design] Part#2: My notes on - How will you choose any component for System Design

This is kind of an addition to earlier “System design notes” medium post and I am creating a new post here , just dedicated to “how and why we choose any database/component for a system design purpose?”. I will try to add all my notes on why choice1 over choice2…

System Design Interview

5 min read

[System Design] Part#2: My notes on — How will you choose any component for System Design?
[System Design] Part#2: My notes on — How will you choose any component for System Design?
System Design Interview

5 min read


Pinned

[System Design/ OS]Part#1:System Design/OS (DevOps/SRE) Resources Collection

Below are my collection of resources to learn about system design/operating systems related concepts. As I continue on my journey of learning new things, I will keep on adding to this list ! :) Happy Learning !! p.s. I have created a new post dedicated to “Databases related notes w.r.t…

System Design Interview

3 min read

[System Design] Part#1: System Design/OS(DevOps/SRE) Resources
[System Design] Part#1: System Design/OS(DevOps/SRE) Resources
System Design Interview

3 min read


Oct 18, 2022

Transactional In-Memory Key-Value Store in Python {System Design Question}

GitHub - valaks-tech/TransactionalKeyValueStore: How to Design a Transactional Key-value Store in… You can't perform that action at this time. You signed in with another tab or window. You signed out in another tab or…github.com

Github

1 min read

Github

1 min read

Transactional In-Memory Key-Value Store in Python {System Design Question}

GitHub - valaks-tech/TransactionalKeyValueStore: How to Design a Transactional Key-value Store in…

You can't perform that action at this time. You signed in with another tab or window. You signed out in another tab or…

github.com

--

--


Oct 18, 2022

Innermost Brackets — Find the strings in the innermost level | {Coding Question}

Given a string containing nested brackets, print all the “strings” in the highest/innermost bracket level. You can assume that brackets are all valid and ignore any whitespaces. — input = ( p((qsdgfsgsgd(dfggfg))) ((s(ssdgssgf))t) )” output = [[‘dfggfg’], [‘ssdgssgf’]] (as both are at maximum 4th nested level)

Coding

1 min read

Coding

1 min read

Innermost Brackets — Find the strings in the innermost level | {Coding Question}

Given a string containing nested brackets, print all the “strings” in the highest/innermost bracket level. You can assume that brackets are all valid and ignore any whitespaces.

input = ( p((qsdgfsgsgd(dfggfg))) ((s(ssdgssgf))t) )”
output = [[‘dfggfg’], [‘ssdgssgf’]] (as both are at maximum 4th nested level)

--

--


Oct 18, 2022

Maximal set of overlapping intervals | {Coding Question}

Given a collection of intervals, return a maximal set of non-overlapping intervals while prioritizing the longer intervals. — input — (1,5),(2,7),(11,18) output — (11, 18), (2, 7) In the given example, (1,5) and (2,7) are overlapping intervals and while choosing between the two, (2,7) is chosen as 7–2 > 5–1. Time complexity: O(N logN) Space Complexity: O(N)

Coding Interviews

1 min read

Coding Interviews

1 min read

Maximal set of overlapping intervals | {Coding Question}

Given a collection of intervals, return a maximal set of non-overlapping intervals while prioritizing the longer intervals.

input — (1,5),(2,7),(11,18)
output — (11, 18), (2, 7)

In the given example, (1,5) and (2,7) are overlapping intervals and while choosing between the two, (2,7) is chosen as 7–2 > 5–1.

Time complexity: O(N logN)
Space Complexity: O(N)

--

--


Sep 21, 2022

[System Design Ideas] Multi-Region Code Deployment : Deployment Strategies, Scaling

Problem Statement: Given a huge number of hosts in multiple regions, how will you deploy code and handle error detection, high availability etc. ? Before we dive down how can we deploy in multiple regions, lets try to understand how and what strategies need to be taken into consideration when…

Codedeploy

1 min read

[System Design Ideas] Multi-Region Code Deployment : Deployment Strategies, Scaling
[System Design Ideas] Multi-Region Code Deployment : Deployment Strategies, Scaling
Codedeploy

1 min read


Aug 24, 2022

Leetcode#642. Design Search Autocomplete System

Design a search autocomplete system for a search engine. Users may input a sentence (at least one word and end with a special character '#'). You are given a string array sentences and an integer array times both of length n where sentences[i] is a previously typed sentence and times[i]…

Leetcode

3 min read

Leetcode

3 min read


Aug 17, 2022

Matrix Problem : Find the number of persons seen

Given a grid G of numbers representing heights of persons standing next to each other. A person can see another person in the grid if the height of everyone in between is shorter than them A person can see to the right and down Return a grid A where A[x][y] is…

Algorithms

1 min read

Algorithms

1 min read


Aug 3, 2022

[Linux Internals] System Calls

System calls provide transition from ‘user space’ to ‘kernel space’; These are not just a routine calls. In newer systems, kernel code for system calls do exist inside the address space of the process itself ( top of the address space stack). process cant access them in general, but only…

Linux

2 min read

[Linux Internals] System Calls
[Linux Internals] System Calls
Linux

2 min read

svalak

svalak

67 Followers

Passionate about problem solving; #VoraciousReader #MBTIEnthusiast #LovePsychology

Following
  • Keerthana Cheluvaraj

    Keerthana Cheluvaraj

  • Phil from 4 day week

    Phil from 4 day week

  • Manish Kumar

    Manish Kumar

  • Netflix Technology Blog

    Netflix Technology Blog

  • Barack Obama

    Barack Obama

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech