Categories

C++

How to write an LRU cache: Master it in any programming language

From an algorithm, data structure and interview’s perspective, caching makes for a versatile topic. It can be used to gauge someone’s low-level understanding of data structures and al...

In C++, Feb 20, 2021

Largest sub matrix rectangle with rearrangement with all 1s

We at Tech Munching provide you the cleanest, easy to understand solutions to difficult competitive coding questions. This question #1727 appeared in LeetCode contest #224.

In C++, Algorithm, Interview Preparation, Jan 17, 2021

Lambdas and closures in C++

What are closures vs how lambdas are different from closures?

In C++, Oct 27, 2020

Using Modern C++ class members and initializations the right way

Using In-member initialization, using constructors smartly and using class members functions in a safe and proper way to avoid mistakes

In C++, Jul 03, 2020

Object construction order in case of virtual and/or multiple inheritance

How virtual vs. multiple inheritance affect class object construction order?

In C++, OOPS, Jul 03, 2020

Passing smart pointers shared_ptr and unique_ptr

General guidelines to follow for passing shared_ptr and unique_ptr as function arguments and at the time of return.

In C++, Jun 17, 2020

Few Modern C++ Puzzles

Some puzzles from various talks, blog posts, and other bits

In C++, C++20, Jun 15, 2020

Coroutines and their introduction in C++

Let’s discuss what coroutines are in general and how C++20 is introducing them

In C++, C++20, May 30, 2020

Using custom deleters with shared_ptr and unique_ptr in C++

How to use a custom deleter with an unique_ptr and shared_ptr

In C++, May 29, 2020

Universal Reference and Perfect forwarding

Also known as Forwarding reference

In C++, Apr 11, 2020

Move Semantics in C++ : Part 1

Prerequisites: Understanding of rvalue references

In C++, Interview Preparation, Mar 22, 2020

Smart Observer Pattern in C++

smarter pub-sub A better event dispatcher Photo by Fotis Fotopouloson unsplash.com

In C++, Oct 13, 2019

A tale of two allocations

make_shared vs shared_ptr

In C++, Oct 12, 2019

Git

Git merge vs Git Rebase

A complete discussion about git rebase vs git merge (and squash merge)

In Git, Nov 16, 2019

Unnamed anonymous namespaces vs namespace static

Detailed Comparison of unnamed namespaces and namespace static with advantages and disadvantages Photo by Jens Lelie on Unsplash

In Git, Nov 10, 2019

10 Awesome Git Tricks: An advanced cheatsheet

Commit, Branching, Refs, Checkouts, push and pulls

In Git, Oct 21, 2019

Create and manage multiple GitHub accounts

Managing personal and professional Github Account simultaneously

In Git, Oct 14, 2019

Algorithm

Largest sub matrix rectangle with rearrangement with all 1s

We at Tech Munching provide you the cleanest, easy to understand solutions to difficult competitive coding questions. This question #1727 appeared in LeetCode contest #224.

In C++, Algorithm, Interview Preparation, Jan 17, 2021

Interview Preparation

Largest sub matrix rectangle with rearrangement with all 1s

We at Tech Munching provide you the cleanest, easy to understand solutions to difficult competitive coding questions. This question #1727 appeared in LeetCode contest #224.

In C++, Algorithm, Interview Preparation, Jan 17, 2021

Move Semantics in C++ : Part 1

Prerequisites: Understanding of rvalue references

In C++, Interview Preparation, Mar 22, 2020

C++20

Few Modern C++ Puzzles

Some puzzles from various talks, blog posts, and other bits

In C++, C++20, Jun 15, 2020

Coroutines and their introduction in C++

Let’s discuss what coroutines are in general and how C++20 is introducing them

In C++, C++20, May 30, 2020

OOPS

Object construction order in case of virtual and/or multiple inheritance

How virtual vs. multiple inheritance affect class object construction order?

In C++, OOPS, Jul 03, 2020

Productivity

No more dealing with slow MacBookPro

Here’s another MacBookPro 101 for you!!

In Productivity, Jan 28, 2021

Programming

What is DNS? A crash course on DNS for every developer

Did you ever think who understands google.com when you type that in your address bar? 🤔

In Programming, Web, Networking, Mar 21, 2021

Web

What is DNS? A crash course on DNS for every developer

Did you ever think who understands google.com when you type that in your address bar? 🤔

In Programming, Web, Networking, Mar 21, 2021

Networking

What is DNS? A crash course on DNS for every developer

Did you ever think who understands google.com when you type that in your address bar? 🤔

In Programming, Web, Networking, Mar 21, 2021

System Design

Interviews