Swap two number in place without temporary variables

August 11, 2022 · 3 min ·  Tags List of tags for the post   ctci ·  bits ·  number ·  moderate ·  xor ·  Last updated: May 22, 2024

Swap Kth node from beginning with Kth node from end in a Linked List

Subarray with sum divisible by k

August 11, 2022 · 3 min ·  Tags List of tags for the post   sum ·  subarray ·  subarray-sum ·  Last updated: Jan 2, 2025

Second largest element in binary search tree

Replace all occurrences of a pattern in a text by another string

Reverse a stack in place using recursion

August 11, 2022 · 3 min ·  Tags List of tags for the post   stack ·  reverse ·  Last updated: Nov 23, 2024

Reverse the given Array without using built in function

Reverse a string in C using as little additional memory as possible

August 11, 2022 · 2 min ·  Tags List of tags for the post   bits ·  reverse ·  Last updated: May 22, 2024

Print all sub sequences of a given array

August 11, 2022 · 3 min ·  Tags List of tags for the post   array ·  array-algo ·  Last updated: Jan 2, 2025

Number of elements less than or equal to a given number in a given subarray

August 10, 2022 · 6 min ·  Tags List of tags for the post   binary-indexed-tree ·  Last updated: Jan 2, 2025
This site uses cookies to improve your experience on our website. By using and continuing to navigate this website, you accept this. Privacy Policy