Featured Resource One-line Algorithms questions & facts Random algorithm facts for quick interview revision when you only have a minute to spare.
Book DSA Cheatsheet A Cheatsheet for data structures and algorithms practice, coding interview and problem-solving intuition.
Featured Resource One AI Systems Question Practice AI and ML systems prompts across P/D disaggregation, inference, training, RAG, platform engineering and reliability.
C++ Optimize C++ Code [30 techniques] In this article, we have presented over 30 techniques which you can use to optimize your C++ code to make it perform optimally and pass time restrictions in Competitive Contests.
C++ Set array to 0 in C++ [5 methods] In this article, we have presented different ways using which one can set all elements in an array to 0 in C++. We have presented an assembly level approach (advanced) as well.
C++ Convert char* to uint8_t [2 methods] In this article, we have covered different approaches to convert char* to uint8_t.
Culture What can you do with a Computer Science degree ? In this article, we have explored in depth how your career will proceed if you take up a Computer Science degree. There are over 30 high paying job titles and is one of the most demanding job profiles today.
C++ Convert int to uint8_t In this article, we have presented how to convert int to uint8_t considering explicit casting and overflow of uint8_t.
C++ uint8_t cannot be printed In this article, we have explored the reason uint8_t cannot be printed with std::cout and multiple fixes that can be used to print uint8_t values.
Python Python lambda for loop In this article, we have explored how to use Lambda in Python to replicate the behavior of for loop and how to use for loop within lambda.
Linux Remove End of Line (EOL) whitespace in Files in UNIX/ Ubuntu In this article, we have demonstrated how to Remove End of Line (EOL) whitespace in Files in UNIX/ Ubuntu using grep and sed commands.
Linux Install astyle in Ubuntu In this article, we have presented how to install astyle (Artistic Style) tool in UNIX/ Ubuntu.
Python Singleton Pattern in Python Design patterns are reusable formatted best practices that programmers can use to solve common problems when designing applications or systems. They can be classified into Creational Patterns Structural Patterns, Behavioral Patterns, and Concurrency Patterns.
List of Mathematical Algorithms Cramer's conjecture In this article, we have explored Cramer's conjecture which is an important conjecture for prime numbers. We have developed a code to verify this conjecture.
List of Mathematical Algorithms Zeckendorf's theorem The Zeckendorf's theorem states that every positive integer can be represented uniquely as a sum of one or more distinct non-neighboring or non-consecutive Fibonacci numbers.
Python Python Multiple Choice Questions In this article, we test our Python Knowledge by going through 50 Multiple Choice Questions.
game theory Game Tree In this article, we have covered the concept of how Backtracking help us to solve Game Tree. We will solve the Game Tree Problem by making use of the Minimax Algorithm. We have presented the Time and Space Complexity for various cases.
System Design 5 Future Trends of Software Testing These are a few of the trends that are likely to shape the future of software testing. From the rise of AI to the increased use of machine learning, it is clear that the future of software testing is looking very exciting.
Software Engineering How Spotify use DevOps to improve developer productivity? You may not know that Spotify is a prime example of how effective DevOps can be in improving developer productivity.
Computer Architecture Formula for CPU FLOPs (theoretical max) In this article, we have presented the formula to calculate theoretical max FLOPs for a given CPU system and understand the logic behind it.
queue Dynamic Queue In this article, we will see what a dynamic queue is and how it is implemented. In short, Dynamic Queue is a Queue whose allocated memory may increase or decrease depending on the number of elements being inserted or deleted in Queue.
System Design Live streaming to 25.3M concurrent viewers: Deal with traffic spike In 2019, Hotstar created a global record for live streaming to 25.3 million concurrent viewers. What all happened?
Python Get IP Address in Python In this article, we have developed a Python script to get private, public IP address along with other details.
Hashing Fibonacci Hashing In this article, an underlooked kind of hash function is to be discussed, the Fibonacci Hashing. It is another form of multiplicative hashing function that is related to the golden ratio.
C++ Fastest and Smallest Fixed width integer types in C++ (int_least8_t, int_fast8_t, ...) In this article, we are going to learn about the Fastest and Smallest types of Fixed width integer types in C++ such as int_least8_t, int_fast8_t and more.
Deep Learning Interview Questions on Transformers The Transformers architecture introduced in the paper āAttention Is All You Needā, has changed the scenario of creating more complex and advanced NLP models. Following are the important questions for an interview on Transformers.
C++ Print boolean in C++ [using std::boolalpha and std::noboolalpha] In this article, we have presented how to print boolean values in C++ (as integer and text) and explored the concepts of std::boolalpha and std::noboolalpha.
C++ Convert std::vector<float> to float* In this article, we have explored 2 different approaches to convert std::vector to float* in C++.