Coding Patterns in C# and Python for Coding Interviews (M/H)

Note: this post is being updated progressively. 1. Sliding window Problem: Given a string s, find the length of the longest substring without repeating characters. C# Runtime: 84 ms, faster than 80.08% of C# online submissions for Longest Substring Without Repeating Characters. Time Complexity : O(n) Space Complexity: O(n) Python 3 Runtime: 64 ms, faster than 65.71% of Python3 online submissions for Longest Substring … Read more Coding Patterns in C# and Python for Coding Interviews (M/H)

Testing basics in .NET

The idea of testing a .NET application is introduced in this article, it shows how various kinds of tests could be used to evaluate and validate code. Different tools, such as .NET CLI or Integrated Development Environments, are available to test .NET applications. A perfect way to ensure that the software code does what its developers … Read more Testing basics in .NET

Google C# Style Guide

This style guide is for C# code developed internally at Google, and is the default style for C# code at Google. It makes stylistic choices that conform to other languages at Google, such as Google C++ style and Google Java style. Source : https://google.github.io/styleguide/csharp-style.html Formatting guidelines Naming rules Naming rules follow Microsoft’s C# naming guidelines. Where … Read more Google C# Style Guide

Open chat
Powered by