---
title: "Subrat Kumar Swain (@CPPWithSubrat) | Hashnode"
description: "Simplify your coding journey with CPPWithSubrat. Read the latest articles by Subrat Kumar Swain on Hashnode."
url: "https://hashnode.com/@CPPWithSubrat"
---

@CPPWithSubrat

# Subrat Kumar Swain

@CPPWithSubrat · India · Joined April 2023

Simplify your coding journey with CPPWithSubrat

[Website](https://subratswain.com/)

### [Locate Memory Leaks in C/C++ Development on Mac OS](https://blogs.cppwithsubrat.com/locate-memory-leaks-in-cc-development-on-mac-os?utm_source=hashnode&utm_medium=feed)

Efficient Strategies for Identifying and Resolving Memory Leaks in C/C++ Development on Mac OS

3 min read · [blogs.cppwithsubrat.com](https://blogs.cppwithsubrat.com/locate-memory-leaks-in-cc-development-on-mac-os?utm_source=hashnode&utm_medium=feed)

[Dec 2, 2023](https://hashnode.com/posts/locate-memory-leaks-in-cc-development-on-mac-os/656b3df7492f6dc8fc376b07)

### [Time Conversion Algorithm in C++: Hackerrank Solution Explained](https://blogs.cppwithsubrat.com/time-conversion-algorithm-in-cpp-hackerrank-solution-explained?utm_source=hashnode&utm_medium=feed)

C++ Time Conversion Algorithm: Hackerrank Solution Explained, convert 12-hour AM/PM to 24-hour format. Learn std::string, stringstream, setw, setfill

3 min read · [blogs.cppwithsubrat.com](https://blogs.cppwithsubrat.com/time-conversion-algorithm-in-cpp-hackerrank-solution-explained?utm_source=hashnode&utm_medium=feed)

[Nov 30, 2023](https://hashnode.com/posts/time-conversion-algorithm-in-cpp-hackerrank-solution-explained/645b5391a1099a68d096bc76)

### [Tips & Tricks-1](https://blogs.cppwithsubrat.com/tips-tricks-1?utm_source=hashnode&utm_medium=feed)

Optimize C++ memory with malloc, calloc. Master dynamic management, prevent leaks and ensure safety. Ideal for interviews, developers

2 min read · [blogs.cppwithsubrat.com](https://blogs.cppwithsubrat.com/tips-tricks-1?utm_source=hashnode&utm_medium=feed)

[Nov 29, 2023](https://hashnode.com/posts/tips-tricks-1/65676d4c181bd3476610f234)

### [Hackerrank Library Fine: C++ Algorithm Resolution Guide](https://blogs.cppwithsubrat.com/hackerrank-library-fine-c-algorithm-resolution-guide?utm_source=hashnode&utm_medium=feed)

Library Fine: Hackerrank C++ Algorithm Answer

1 min read · [blogs.cppwithsubrat.com](https://blogs.cppwithsubrat.com/hackerrank-library-fine-c-algorithm-resolution-guide?utm_source=hashnode&utm_medium=feed)

[May 8, 2023](https://hashnode.com/posts/hackerrank-library-fine-c-algorithm-resolution-guide/645966707415ec5ddfd246bb)

### [Understanding C++ Namespaces](https://blogs.cppwithsubrat.com/understanding-cpp-namespaces?utm_source=hashnode&utm_medium=feed)

Master C++ namespaces, modularize code, ace interviews. Learn syntax, access methods, nested namespaces. Enhance skills at subratswain.com

2 min read · [blogs.cppwithsubrat.com](https://blogs.cppwithsubrat.com/understanding-cpp-namespaces?utm_source=hashnode&utm_medium=feed)

[May 5, 2023](https://hashnode.com/posts/understanding-cpp-namespaces/64553db48a9020e5bc9bfb08)
