- Important Tips for Optimizing C/C++ Code
- Memory Layout of C Programs
- Problem: Maximum Subarray Sum
- Implement an algorithm to determine if a string has all unique characters.
- Design an algorithm and write code to remove the duplicate characters in a string without using any additional buffer.
- Write a method to decide if two strings are anagrams or not
- Write a function that adds two numbers. You should not use + or any arithmetic operators
- Write a method to shuffle a deck of cards
- Write a method to randomly generate a set of m integers from an array of size n
- Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees