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: Aug 2, 2025

Integer to English Words

Delete non-tail Node in linked list, Given only access to that Node

Find if Path Exists in Directed Graph

Remove duplicate characters in a string

Sorting a Stack using push,pop,isEmpty and peek

April 5, 2022 · 7 min ·  Tags List of tags for the post   ctci ·  stack ·  Last updated: Aug 2, 2025

Implement 3 stacks in 1 array

April 5, 2022 · 4 min ·  Tags List of tags for the post   ctci ·  stack ·  Last updated: Aug 2, 2025

Count number of bits to be flipped to convert A to B

Determine if a string has all unique characters

Find the nearest numbers that have same number of 1s for an integer

April 3, 2022 · 4 min ·  Tags List of tags for the post   ctci ·  bits ·  Last updated: Aug 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