Filter
Exclude
Time range
-
Near
21 Oct 2025
Day 33 of #LeetCode75 Problem: 700. Search in a BST BST rule makes searching super simple If val<root→go left If val>root→go right If equal→found it! Time: O(log N) for balanced BST Space: O(1) #LeetCode #Day31 #DSA #BinarySearchTree #CodingInCPlusPlus #100DaysOfCode
2
24
312
@geeksforgeeks Day 14 of #gfg160 Are your strings anagrams? 🧐 Check it out with this efficient C solution that compares character frequencies in O(n) time! 💻✨ #AnagramChecker #CodingInCPlusPlus #GeeksforGeeks #CodeChallenge #geekstreak2024 #womenintech
3
7
Please check out my RayCaster implementation using the DDA algorithm for rendering a 2D map. github.com/zerocool-m12/RayC… Credit: X: @_Ward42 YT: youtube.com/@thehelloworldgu… #365dayscoding #100daysofcode #codedaily #cplusplus #cpp #codingincplusplus #programming #programminghelp
1
228
The third argument of the function 'std::sort' is about how you want the container to be sorted in. Below is an example of how to sort an array in two different orders: #365dayscoding #100daysofcode #codedaily #cplusplus #cpp #codingincplusplus #programming #programminghelp
4
565
Static variables inside template functions are always subject to the type of the function. Static counter in below function is restarted when the function type became float. Output = 010 #365dayscoding #100daysofcode #codedaily #cplusplus #cpp #codingincplusplus #programming
3
3
512
One of the interesting facts about 'sizeof' operator is that it never evaluates. The output of the below snippet of code will be 4 👍🏼 #365dayscoding #100daysofcodechallenge #100daysofcode #codedaily #cplusplus #cpp #codingincplusplus #DSA #programming
1
6
449
Easiest way to print out the content of a file directly to stdout? Nothing better than iterators. Below is a way to copy a text file to the 'std::cout'. #365dayscoding #100daysofcodechallenge #100daysofcode #codedaily #cplusplus #cpp #codingincplusplus #DSA #programming
4
620
Legacy random function 'rand()' is not recommended due to its limited range & thread safety issues. Mersenne Twester algo on the other hand is way safer & better #365dayscoding #100daysofcodechallenge #100daysofcode #codedaily #cplusplus #cpp #codingincplusplus #DSA #programming
2
621
Iterators are among the most useful tools in the C standard library. here is below an easy & safe way to load a file into 'std::vector' buffer using iterators: #365dayscoding #100daysofcodechallenge #100daysofcode #codedaily #cplusplus #cpp #codingincplusplus #DSA #programming
2
8
1,215
'std::cout' is an object of a class, and this object can be used by associating the operator '<<', but it also can be used in another forms #365dayscoding #100daysofcodechallenge #100daysofcode #codedaily #cplusplus #cpp #codingincplusplus #DSA #programming
4
1,174
Passing the size of every dimension of a multi-dimensional array independently to a function is a bit time consuming. Herein below an example of passing a 2d C-style array to function by merely passing the array itself: #programming #codedaily #cplusplus #cpp #codingincplusplus
3
691
A simple example of how 'variadic templates' works by enabling a function to accept an arbitary number of arguments. C 17 introduced 'folding expression' which does almost the same. #365dayscoding #programming #100daysofcode #codedaily #cplusplus #cpp #codingincplusplus #DSA
2
542