Fancy Hints

  • Home
  • Blog
  • Coding
    • .Net
    • Csharp
    • iOS
    • CSS
    • Python
    • Java
    • Node.js
    • jquery
    • Javascript
    • Android
    • PHP
  • Tech
    • Systems
    • Digital
    • Computer Science
    • Security
    • Hosting
    • Website
    • Mobile
  • Donate

Category: Computer Science

Coding

Help with getting a data bound value in IValueConverter.

Is there a way to get the value of the data bound property while in ConvertBack() of IValueconverter class? What I’d like to achieve is updating a property in my code behind according to a Read more…

By Umar Khan, 5 years ago December 25, 2020
Coding

A Calendar in Three Lines of CSS

This is an attempt to demonstrate how CSS Grid Layout makes it possible to make a calendar with only three lines of CSS. While many would argue that a calendar should be built semantically using Read more…

By Umar Khan, 5 years ago December 25, 2020
Coding

PHP role in Web Development

So I would like to enhance my ability in web technologies from html/css to javascript and php. I have two questrions: What is the role of PHP in a website? Is it just used to Read more…

By Umar Khan, 5 years ago December 25, 2020
c++

C++ style template constants with C# generics.

I’m definitely not the first person to think of this, but I like it in a cheating kind of way. Is the typeof(subtract) == typeof(const_true) comparison optimized away by the compiler? If not, I can Read more…

By Umar Khan, 5 years ago December 25, 2020
c++

Find maximum profit that can be earned by conditionally selling stocks

Given a list containing future price predictions of two different stocks for the next n-days, find the maximum profit that can be earned by selling the stocks with a constraint that the second stock can Read more…

By Umar Khan, 5 years ago December 24, 2020
c++

Find k closest elements to a given value in an array

Given a sorted integer array, find the k closest elements to x in the array where k and x are given positive integers. The integer x may or may not be present in the input Read more…

By Umar Khan, 5 years ago December 24, 2020
c++

Casting an int to a char uses the UTF conversion and not the ASCII conversion?

So I cast the int number 250 to a char, and initially was confused why the corresponding ASCII didn’t appear when I did printed it, but then realised it seemed to be using UTF instead? Read more…

By Umar Khan, 5 years ago December 24, 2020
c++

Water Jugs Problem

Suppose you are given n red and n blue water jugs, all of different shapes and sizes. All red jugs hold different amounts of water, as do the blue ones. Moreover, there is a blue Read more…

By Umar Khan, 5 years ago December 24, 2020
c++

Create Mirror of an m-ary Tree

Given an m-ary tree, write an efficient algorithm to convert the tree to its mirror. An m-ary tree (aka k-ary tree) is a tree in which each node has no more than m children. Each Read more…

By Umar Khan, 5 years ago December 24, 2020
.Net

Is .NET a Swiss army knife?

Hi. I wonder if the .NET platform is such a jack of trades, master of none. The backend is ruled by Java, on the Javascript front, in mobile Kotlin, in games and low-level things C++ Read more…

By Umar Khan, 5 years ago December 24, 2020

Posts pagination

Previous 1 … 805 806 807 … 885 Next
Recent Posts
  • An honest review of the Chase Freedom UnlimitedĀ® credit card
  • Goldman Sachs has decisive message on Google stock ahead of earnings
  • Walmart’s $699 cloud sofa is just $359 thanks to a surprise Flash deal
  • Experian maps a seismic shift hitting lenders now
  • OPEC shake-up throws oil prices major curveball
Recent Comments
    Archives
    • April 2026
    • March 2026
    • February 2026
    • January 2026
    • December 2025
    • November 2025
    • October 2025
    • September 2025
    • August 2025
    • July 2025
    • June 2025
    • May 2025
    • April 2025
    • March 2025
    • February 2025
    • January 2025
    • December 2024
    • November 2024
    • October 2024
    • September 2024
    • August 2024
    • July 2024
    • June 2024
    • May 2024
    • April 2024
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • November 2023
    • October 2023
    • September 2023
    • August 2023
    • July 2023
    • June 2023
    • May 2023
    • April 2023
    • March 2023
    • February 2023
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • September 2022
    • August 2022
    • July 2022
    • June 2022
    • May 2022
    • April 2022
    • March 2022
    • February 2022
    • January 2022
    • December 2021
    • November 2021
    • October 2021
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • May 2021
    • April 2021
    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • June 2019
    • May 2019
    • July 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    Categories
    • .Net
    • Android
    • Architecture
    • BigData
    • c++
    • Cloud
    • COBOL
    • Coding
    • Computer Science
    • Cross-Platform
    • crypto
    • Cryptocurrencies
    • Csharp
    • CSS
    • Data science
    • digital
    • Email
    • English
    • Hosting
    • HTML
    • Investments
    • iOS
    • Java
    • Javascript
    • jquery
    • Machine Learning
    • Mobile
    • Node.js
    • PHP
    • Programming
    • Python
    • Security
    • SQL
    • Systems
    • Tech
    • Uncategorized
    • Web-services
    • Website
    • Home
    • Blog
    • Coding
    • Tech
    • Donate
    Hestia | Powered by WordPress